@acorex-platform/module-calendar-management-client 0.0.32 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion-type.mjs +211 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion.mjs +398 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entities-calendar.mjs +247 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entities-calendar.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog-acorex-platform-module-calendar-management-client-contracts-entity-catalog-DPE64x5s.mjs +57 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog-acorex-platform-module-calendar-management-client-contracts-entity-catalog-DPE64x5s.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog-calendar-occasion-type.entity-DH1uBu2s.mjs +175 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog-calendar-occasion-type.entity-DH1uBu2s.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog-calendar-occasion.entity-CIP3-0Wp.mjs +362 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog-calendar-occasion.entity-CIP3-0Wp.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog-calendar.entity-BffoExvv.mjs +211 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog-calendar.entity-BffoExvv.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-calendar-management-client-list-calendar-systems.query-D9fLB74b.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-calendar-management-client-local-entities.mjs +31 -0
- package/fesm2022/acorex-platform-module-calendar-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-calendar-management-client.mjs.map +1 -1
- package/package.json +21 -1
- package/types/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion-type.d.ts +5 -0
- package/types/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion.d.ts +5 -0
- package/types/acorex-platform-module-calendar-management-client-contracts-entities-calendar.d.ts +5 -0
- package/types/acorex-platform-module-calendar-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-calendar-management-client-local-entities.d.ts +12 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-calendar-management-client-contracts.mjs","sources":["../../../../libs/modules/calendar-management/contracts/src/features.keys.ts","../../../../libs/modules/calendar-management/contracts/src/menu.keys.ts","../../../../libs/modules/calendar-management/contracts/src/permission.keys.ts","../../../../libs/modules/calendar-management/contracts/src/root-config.ts","../../../../libs/modules/calendar-management/contracts/src/index.ts","../../../../libs/modules/calendar-management/contracts/src/acorex-platform-module-calendar-management-client-contracts.ts"],"sourcesContent":["// Management feature removed - module name is used directly as feature key\nexport const AXPCalendarManagementFeatureKeys = {} as const;\n\n","export const AXPCalendarManagementMenuKeys = {\n Root: 'CalendarManagement:Menu',\n Calendars: 'CalendarManagement:Menu:Calendars',\n CalendarOccasionTypes: 'CalendarManagement:Menu:CalendarOccasionTypes',\n} as const;\n","/**\n * Collaboration capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPCollaborationPermissionKeys = {\n Access: 'Collaboration:Permission:Access',\n MaintainConversations: 'Collaboration:Permission:MaintainConversations',\n MaintainMeetings: 'Collaboration:Permission:MaintainMeetings',\n MaintainCalendars: 'Collaboration:Permission:MaintainCalendars',\n MaintainCommunications: 'Collaboration:Permission:MaintainCommunications',\n MaintainReservations: 'Collaboration:Permission:MaintainReservations',\n MaintainHelpDesk: 'Collaboration:Permission:MaintainHelpDesk',\n Setup: 'Collaboration:Permission:Setup',\n} as const;\n\nconst maintainCalendars = AXPCollaborationPermissionKeys.MaintainCalendars;\nconst setup = AXPCollaborationPermissionKeys.Setup;\n\nfunction calendarCrud() {\n return {\n Management: maintainCalendars,\n View: maintainCalendars,\n Create: maintainCalendars,\n Update: maintainCalendars,\n Delete: maintainCalendars,\n Admin: maintainCalendars,\n } as const;\n}\n\nfunction occasionTypeCrud() {\n return {\n Management: setup,\n View: setup,\n Create: setup,\n Update: setup,\n Delete: setup,\n } as const;\n}\n\n/**\n * @deprecated Prefer {@link AXPCollaborationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMPermissionsKeys = {\n CalendarManagement: {\n Management: maintainCalendars,\n Calendar: calendarCrud(),\n CalendarOccasionType: occasionTypeCrud(),\n },\n} as const;\n","const config = {\n i18n: 'calendar-management',\n module: 'CalendarManagement'\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-calendar',\n },\n entities: {\n calendar: {\n name: 'Calendar',\n title: `@${config.i18n}:calendars.entities.calendar.title`,\n titlePlural: `@${config.i18n}:calendars.entities.calendar.plural`,\n icon: 'fa-light fa-calendar',\n },\n calendarOccasion: {\n name: 'CalendarOccasion',\n title: `@${config.i18n}:calendar-occasions.entities.calendar-occasion.title`,\n titlePlural: `@${config.i18n}:calendar-occasions.entities.calendar-occasion.plural`,\n icon: 'fa-light fa-calendar-day',\n },\n calendarOccasionType: {\n name: 'CalendarOccasionType',\n title: `@${config.i18n}:calendar-occasion-types.entities.calendar-occasion-type.title`,\n titlePlural: `@${config.i18n}:calendar-occasion-types.entities.calendar-occasion-type.plural`,\n icon: 'fa-light fa-tag',\n },\n },\n} as const;\n","//#region ---- Contracts barrel ----\n\nexport * from './features.keys';\nexport * from './menu.keys';\nexport * from './permission.keys';\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":"AAAA;AACO,MAAM,gCAAgC,GAAG;;ACDzC,MAAM,6BAA6B,GAAG;AACzC,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,SAAS,EAAE,mCAAmC;AAC9C,IAAA,qBAAqB,EAAE,+CAA+C;;;ACH1E;;;AAGG;AACI,MAAM,8BAA8B,GAAG;AAC5C,IAAA,MAAM,EAAE,iCAAiC;AACzC,IAAA,qBAAqB,EAAE,gDAAgD;AACvE,IAAA,gBAAgB,EAAE,2CAA2C;AAC7D,IAAA,iBAAiB,EAAE,4CAA4C;AAC/D,IAAA,sBAAsB,EAAE,iDAAiD;AACzE,IAAA,oBAAoB,EAAE,+CAA+C;AACrE,IAAA,gBAAgB,EAAE,2CAA2C;AAC7D,IAAA,KAAK,EAAE,gCAAgC;;AAGzC,MAAM,iBAAiB,GAAG,8BAA8B,CAAC,iBAAiB;AAC1E,MAAM,KAAK,GAAG,8BAA8B,CAAC,KAAK;AAElD,SAAS,YAAY,GAAA;IACnB,OAAO;AACL,QAAA,UAAU,EAAE,iBAAiB;AAC7B,QAAA,IAAI,EAAE,iBAAiB;AACvB,QAAA,MAAM,EAAE,iBAAiB;AACzB,QAAA,MAAM,EAAE,iBAAiB;AACzB,QAAA,MAAM,EAAE,iBAAiB;AACzB,QAAA,KAAK,EAAE,iBAAiB;KAChB;AACZ;AAEA,SAAS,gBAAgB,GAAA;IACvB,OAAO;AACL,QAAA,UAAU,EAAE,KAAK;AACjB,QAAA,IAAI,EAAE,KAAK;AACX,QAAA,MAAM,EAAE,KAAK;AACb,QAAA,MAAM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YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+DAAA,CAAiE;AAC7F,YAAA,IAAI,EAAE,iBAAiB;AAC1B,SAAA;AACJ,KAAA;;;AC/BL;;ACAA;;AAEG
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-calendar-management-client-contracts.mjs","sources":["../../../../libs/modules/calendar-management/contracts/src/features.keys.ts","../../../../libs/modules/calendar-management/contracts/src/menu.keys.ts","../../../../libs/modules/calendar-management/contracts/src/permission.keys.ts","../../../../libs/modules/calendar-management/contracts/src/root-config.ts","../../../../libs/modules/calendar-management/contracts/src/index.ts","../../../../libs/modules/calendar-management/contracts/src/acorex-platform-module-calendar-management-client-contracts.ts"],"sourcesContent":["// Management feature removed - module name is used directly as feature key\nexport const AXPCalendarManagementFeatureKeys = {} as const;\n\n","export const AXPCalendarManagementMenuKeys = {\n Root: 'CalendarManagement:Menu',\n Calendars: 'CalendarManagement:Menu:Calendars',\n CalendarOccasionTypes: 'CalendarManagement:Menu:CalendarOccasionTypes',\n} as const;\n","/**\n * Collaboration capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPCollaborationPermissionKeys = {\n Access: 'Collaboration:Permission:Access',\n MaintainConversations: 'Collaboration:Permission:MaintainConversations',\n MaintainMeetings: 'Collaboration:Permission:MaintainMeetings',\n MaintainCalendars: 'Collaboration:Permission:MaintainCalendars',\n MaintainCommunications: 'Collaboration:Permission:MaintainCommunications',\n MaintainReservations: 'Collaboration:Permission:MaintainReservations',\n MaintainHelpDesk: 'Collaboration:Permission:MaintainHelpDesk',\n Setup: 'Collaboration:Permission:Setup',\n} as const;\n\nconst maintainCalendars = AXPCollaborationPermissionKeys.MaintainCalendars;\nconst setup = AXPCollaborationPermissionKeys.Setup;\n\nfunction calendarCrud() {\n return {\n Management: maintainCalendars,\n View: maintainCalendars,\n Create: maintainCalendars,\n Update: maintainCalendars,\n Delete: maintainCalendars,\n Admin: maintainCalendars,\n } as const;\n}\n\nfunction occasionTypeCrud() {\n return {\n Management: setup,\n View: setup,\n Create: setup,\n Update: setup,\n Delete: setup,\n } as const;\n}\n\n/**\n * @deprecated Prefer {@link AXPCollaborationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMPermissionsKeys = {\n CalendarManagement: {\n Management: maintainCalendars,\n Calendar: calendarCrud(),\n CalendarOccasionType: occasionTypeCrud(),\n },\n} as const;\n","const config = {\n i18n: 'calendar-management',\n module: 'CalendarManagement'\n};\n\nexport const RootConfig = {\n config,\n module: {\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-calendar',\n },\n entities: {\n calendar: {\n name: 'Calendar',\n title: `@${config.i18n}:calendars.entities.calendar.title`,\n titlePlural: `@${config.i18n}:calendars.entities.calendar.plural`,\n icon: 'fa-light fa-calendar',\n },\n calendarOccasion: {\n name: 'CalendarOccasion',\n title: `@${config.i18n}:calendar-occasions.entities.calendar-occasion.title`,\n titlePlural: `@${config.i18n}:calendar-occasions.entities.calendar-occasion.plural`,\n icon: 'fa-light fa-calendar-day',\n },\n calendarOccasionType: {\n name: 'CalendarOccasionType',\n title: `@${config.i18n}:calendar-occasion-types.entities.calendar-occasion-type.title`,\n titlePlural: `@${config.i18n}:calendar-occasion-types.entities.calendar-occasion-type.plural`,\n icon: 'fa-light fa-tag',\n },\n },\n} as const;\n","//#region ---- Contracts barrel ----\n\nexport * from './features.keys';\nexport * from './menu.keys';\nexport * from './permission.keys';\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":"AAAA;AACO,MAAM,gCAAgC,GAAG;;ACDzC,MAAM,6BAA6B,GAAG;AACzC,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,SAAS,EAAE,mCAAmC;AAC9C,IAAA,qBAAqB,EAAE,+CAA+C;;;ACH1E;;;AA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A,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,sBAAsB;AAC/B,KAAA;AACD,IAAA,QAAQ,EAAE;AACN,QAAA,QAAQ,EAAE;AACN,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,kCAAA,CAAoC;AAC1D,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,mCAAA,CAAqC;AACjE,YAAA,IAAI,EAAE,sBAAsB;AAC/B,SAAA;AACD,QAAA,gBAAgB,EAAE;AACd,YAAA,IAAI,EAAE,kBAAkB;AACxB,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,oDAAA,CAAsD;AAC5E,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,qDAAA,CAAuD;AACnF,YAAA,IAAI,EAAE,0BAA0B;AACnC,SAAA;AACD,QAAA,oBAAoB,EAAE;AAClB,YAAA,IAAI,EAAE,sBAAsB;AAC5B,YAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,8DAAA,CAAgE;AACtF,YAAA,WAAW,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,+DAAA,CAAiE;AAC7F,YAAA,IAAI,EAAE,iBAAiB;AAC1B,SAAA;AACJ,KAAA;;;AC/BL;;ACAA;;AAEG;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-calendar-management-client-list-calendar-systems.query-D9fLB74b.mjs","sources":["../../../../libs/modules/calendar-management/client/src/lib/features/queries/list-calendar-systems.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 { AXTranslationService } from '@acorex/core/translation';\n\nimport { Injectable, inject } from '@angular/core';\n\n//#region ---- Types ----\n\nexport type AXMListCalendarSystemsQueryInput = AXPCollectionQueryInput;\n\nexport interface AXMListCalendarSystemsQueryItem {\n /** Stored calendar system code. */\n id: string;\n /** Localized display title. */\n title: string;\n}\n\n//#endregion\n\n//#region ---- Constants ----\n\n/** Same ids as the former `calendar-systems` registry data source. */\nconst CALENDAR_SYSTEM_IDS = ['gregorian', 'solar-hijri'] as const;\n\nconst CALENDAR_SYSTEMS_I18N_PREFIX = '@calendar-management:calendars.calendar-systems';\n\n//#endregion\n\n//#region ---- Query ----\n\n/**\n * Static calendar system catalog — replaces the `calendar-systems` DI data source.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMListCalendarSystemsQuery\n implements\n AXPCollectionQuery<AXMListCalendarSystemsQueryInput, AXMListCalendarSystemsQueryItem>\n{\n //#region ---- Services & Dependencies ----\n\n private readonly translate = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Query Execution ----\n\n async fetch(\n input?: AXMListCalendarSystemsQueryInput | null,\n ): AXPQueryCollectionFetchResultPromise<AXMListCalendarSystemsQueryItem> {\n try {\n let items: AXMListCalendarSystemsQueryItem[] = await Promise.all(\n CALENDAR_SYSTEM_IDS.map(async (id) => ({\n id,\n title: await this.translate.translateAsync(`${CALENDAR_SYSTEMS_I18N_PREFIX}.${id}`),\n })),\n );\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: 'id' 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":";;;;;;;AA2BA;AAEA;AAEA;AACA,MAAM,mBAAmB,GAAG,CAAC,WAAW,EAAE,aAAa,CAAU;AAEjE,MAAM,4BAA4B,GAAG,iDAAiD;AAEtF;AAEA;AAEA;;AAEG;MAEU,2BAA2B,CAAA;AADxC,IAAA,WAAA,GAAA;;AAOmB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAuC1D,IAAA;;;IAjCC,MAAM,KAAK,CACT,KAA+C,EAAA;AAE/C,QAAA,IAAI;AACF,YAAA,IAAI,KAAK,GAAsC,MAAM,OAAO,CAAC,GAAG,CAC9D,mBAAmB,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM;gBACrC,EAAE;AACF,gBAAA,KAAK,EAAE,MAAM,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,CAAA,EAAG,4BAA4B,CAAA,CAAA,EAAI,EAAE,EAAE,CAAC;aACpF,CAAC,CAAC,CACJ;AAED,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,IAAa,EAAE,GAAG,EAAE,KAAc,EAAE,CAAC;AAC9F,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;8GA1CW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA3B,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,2BAA2B,cADd,MAAM,EAAA,CAAA,CAAA;;2FACnB,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-calendar-management-client-list-calendar-systems.query-D9fLB74b.mjs","sources":["../../../../libs/modules/calendar-management/client/src/lib/features/queries/list-calendar-systems.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 { AXTranslationService } from '@acorex/core/translation';\n\nimport { Injectable, inject } from '@angular/core';\n\n//#region ---- Types ----\n\nexport type AXMListCalendarSystemsQueryInput = AXPCollectionQueryInput;\n\nexport interface AXMListCalendarSystemsQueryItem {\n /** Stored calendar system code. */\n id: string;\n /** Localized display title. */\n title: string;\n}\n\n//#endregion\n\n//#region ---- Constants ----\n\n/** Same ids as the former `calendar-systems` registry data source. */\nconst CALENDAR_SYSTEM_IDS = ['gregorian', 'solar-hijri'] as const;\n\nconst CALENDAR_SYSTEMS_I18N_PREFIX = '@calendar-management:calendars.calendar-systems';\n\n//#endregion\n\n//#region ---- Query ----\n\n/**\n * Static calendar system catalog — replaces the `calendar-systems` DI data source.\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMListCalendarSystemsQuery\n implements\n AXPCollectionQuery<AXMListCalendarSystemsQueryInput, AXMListCalendarSystemsQueryItem>\n{\n //#region ---- Services & Dependencies ----\n\n private readonly translate = inject(AXTranslationService);\n\n //#endregion\n\n //#region ---- Query Execution ----\n\n async fetch(\n input?: AXMListCalendarSystemsQueryInput | null,\n ): AXPQueryCollectionFetchResultPromise<AXMListCalendarSystemsQueryItem> {\n try {\n let items: AXMListCalendarSystemsQueryItem[] = await Promise.all(\n CALENDAR_SYSTEM_IDS.map(async (id) => ({\n id,\n title: await this.translate.translateAsync(`${CALENDAR_SYSTEMS_I18N_PREFIX}.${id}`),\n })),\n );\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: 'id' 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":";;;;;;;AA2BA;AAEA;AAEA;AACA,MAAM,mBAAmB,GAAG,CAAC,WAAW,EAAE,aAAa,CAAU;AAEjE,MAAM,4BAA4B,GAAG,iDAAiD;AAEtF;AAEA;AAEA;;AAEG;MAEU,2BAA2B,CAAA;AADxC,IAAA,WAAA,GAAA;;AAOmB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAuC1D,IAAA;;;IAjCC,MAAM,KAAK,CACT,KAA+C,EAAA;AAE/C,QAAA,IAAI;AACF,YAAA,IAAI,KAAK,GAAsC,MAAM,OAAO,CAAC,GAAG,CAC9D,mBAAmB,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM;gBACrC,EAAE;AACF,gBAAA,KAAK,EAAE,MAAM,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,CAAA,EAAG,4BAA4B,CAAA,CAAA,EAAI,EAAE,EAAE,CAAC;aACpF,CAAC,CAAC,CACJ;AAED,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,IAAa,EAAE,GAAG,EAAE,KAAc,EAAE,CAAC;AAC9F,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;8GA1CW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA3B,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,2BAA2B,cADd,MAAM,EAAA,CAAA,CAAA;;2FACnB,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';
|
|
2
|
+
import { RootConfig } from '@acorex-platform/module-calendar-management-client/contracts';
|
|
3
|
+
export { calendarManagementLocalEntityCatalog } from '@acorex-platform/module-calendar-management-client/contracts/entity-catalog';
|
|
4
|
+
|
|
5
|
+
//#region ----- Imports -----
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ----- Provide local entities -----
|
|
8
|
+
/**
|
|
9
|
+
* Registers calendar-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 provideCalendarManagementLocalEntities() {
|
|
15
|
+
return provideLocalEntityCatalog({
|
|
16
|
+
moduleName: RootConfig.module.name,
|
|
17
|
+
loaders: {
|
|
18
|
+
[RootConfig.entities.calendar.name]: () => import('@acorex-platform/module-calendar-management-client/contracts/entities/calendar').then((m) => m.calendarFactory()),
|
|
19
|
+
[RootConfig.entities.calendarOccasion.name]: () => import('@acorex-platform/module-calendar-management-client/contracts/entities/calendar-occasion').then((m) => m.calendarOccasionFactory()),
|
|
20
|
+
[RootConfig.entities.calendarOccasionType.name]: () => import('@acorex-platform/module-calendar-management-client/contracts/entities/calendar-occasion-type').then((m) => m.calendarOccasionTypeFactory()),
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Generated bundle index. Do not edit.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
export { provideCalendarManagementLocalEntities };
|
|
31
|
+
//# sourceMappingURL=acorex-platform-module-calendar-management-client-local-entities.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-calendar-management-client-local-entities.mjs","sources":["../../../../libs/modules/calendar-management/client/src/lib/provide-local-entities.ts","../../../../libs/modules/calendar-management/client/src/lib/acorex-platform-module-calendar-management-client-local-entities.ts"],"sourcesContent":["//#region ----- Imports -----\n\nimport { provideLocalEntityCatalog } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-calendar-management-client/contracts';\n\n//#endregion\n\n//#region ----- Provide local entities -----\n\n/**\n * Registers calendar-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 provideCalendarManagementLocalEntities() {\n return provideLocalEntityCatalog({\n moduleName: RootConfig.module.name,\n loaders: {\n [RootConfig.entities.calendar.name]: () =>\n import('@acorex-platform/module-calendar-management-client/contracts/entities/calendar').then((m) => m.calendarFactory()),\n [RootConfig.entities.calendarOccasion.name]: () =>\n import('@acorex-platform/module-calendar-management-client/contracts/entities/calendar-occasion').then((m) => m.calendarOccasionFactory()),\n [RootConfig.entities.calendarOccasionType.name]: () =>\n import('@acorex-platform/module-calendar-management-client/contracts/entities/calendar-occasion-type').then((m) => m.calendarOccasionTypeFactory()),\n },\n });\n}\n\nexport { calendarManagementLocalEntityCatalog } from '@acorex-platform/module-calendar-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,sCAAsC,GAAA;AACpD,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,QAAQ,CAAC,IAAI,GAAG,MACnC,OAAO,gFAAgF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,eAAe,EAAE,CAAC;AAC3H,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,GAAG,MAC3C,OAAO,yFAAyF,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAuB,EAAE,CAAC;AAC5I,YAAA,CAAC,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,GAAG,MAC/C,OAAO,8FAA8F,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,2BAA2B,EAAE,CAAC;AACtJ,SAAA;AACF,KAAA,CAAC;AACJ;AAIA;;AC/BA;;AAEG;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-calendar-management-client.mjs","sources":["../../../../libs/modules/calendar-management/client/src/lib/manifest.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-event-ids.utils.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-occasion-holiday.mapper.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-occasion-recurrence.utils.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-localization.utils.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-management.service.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-management-holidays.loader.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-management-holidays.sync.ts","../../../../libs/modules/calendar-management/client/src/lib/calendar-management.module.ts","../../../../libs/modules/calendar-management/client/src/lib/menu.provider.ts","../../../../libs/modules/calendar-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/calendar-management/client/src/lib/search-command.provider.ts","../../../../libs/modules/calendar-management/client/src/acorex-platform-module-calendar-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-calendar-management-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Calendar Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const CalendarManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'platform',\n domain: 'platform',\n required: true,\n\n // Module dependencies (optional)\n};\n\n//#endregion\n\n","/** Normalizes regional calendar-event setting values to calendar ids. */\nexport function normalizeRegionalCalendarEventIds(value: unknown): string[] {\n if (value == null) {\n return [];\n }\n\n const values = Array.isArray(value) ? value : [value];\n return [\n ...new Set(\n values\n .map((item) => {\n if (typeof item === 'string' || typeof item === 'number') {\n return String(item);\n }\n if (item && typeof item === 'object' && 'id' in item) {\n return String((item as { id: string | number }).id);\n }\n return '';\n })\n .filter(Boolean),\n ),\n ];\n}\n","import { AXHolidayDate } from '@acorex/core/date-time';\nimport type { AXMCalendarManagementOccasion } from './calendar-management.service';\n\nconst STYLE_ELEMENT_ID = 'axm-calendar-occasion-holiday-styles';\nconst registeredColorClasses = new Set<string>();\n\nfunction hexToRgb(hex: string): { r: number; g: number; b: number } | null {\n const value = hex.replace('#', '').trim();\n if (!/^[0-9a-fA-F]{6}$/.test(value)) {\n return null;\n }\n\n return {\n r: Number.parseInt(value.slice(0, 2), 16),\n g: Number.parseInt(value.slice(2, 4), 16),\n b: Number.parseInt(value.slice(4, 6), 16),\n };\n}\n\nfunction resolveOccasionColorClass(color: string): string {\n const normalized = color.toLowerCase();\n const token = normalized.replace('#', '');\n const className = `axm-calendar-occasion-${token}`;\n\n if (registeredColorClasses.has(className)) {\n return className;\n }\n\n registeredColorClasses.add(className);\n registerOccasionColorStyles(normalized, className);\n return className;\n}\n\nfunction registerOccasionColorStyles(color: string, className: string): void {\n if (typeof document === 'undefined') {\n return;\n }\n\n let styleElement = document.getElementById(STYLE_ELEMENT_ID) as HTMLStyleElement | null;\n if (!styleElement) {\n styleElement = document.createElement('style');\n styleElement.id = STYLE_ELEMENT_ID;\n document.head.appendChild(styleElement);\n }\n\n const rgb = hexToRgb(color);\n const backgroundColor = rgb ? `rgba(${rgb.r}, ${rgb.g}, ${rgb.b}, 0.14)` : 'transparent';\n\n styleElement.appendChild(\n document.createTextNode(`\n ax-scheduler .ax-scheduler-month-day-cell.${className},\n ax-calendar .ax-calendar-day.${className} {\n background-color: ${backgroundColor};\n }\n\n ax-scheduler .ax-scheduler-month-day-cell.${className} .ax-scheduler-month-day-number,\n ax-scheduler .ax-scheduler-month-header-date-day.${className},\n ax-scheduler .ax-scheduler-week-header-date-day.${className},\n ax-scheduler .ax-scheduler-year-header-date-day.${className},\n ax-scheduler .ax-scheduler-agenda-view-container.${className} .ax-scheduler-agenda-header-date-day,\n ax-calendar .ax-calendar-day.${className} .ax-calendar-day-number {\n color: ${color};\n font-weight: 700;\n }\n `),\n );\n}\n\nexport function mapCalendarOccasionToHolidayDate(occasion: AXMCalendarManagementOccasion): AXHolidayDate {\n if (occasion.isPublicHoliday) {\n return {\n date: occasion.date,\n title: occasion.title,\n description: occasion.description,\n cssClass: 'ax-state-holiday',\n icon: occasion.type.icon,\n isHoliday: true,\n };\n }\n\n const color = occasion.type.color || '#6b7280';\n\n return {\n date: occasion.date,\n title: occasion.title,\n description: occasion.description,\n cssClass: resolveOccasionColorClass(color),\n color,\n icon: occasion.type.icon,\n isHoliday: false,\n };\n}\n","import { AXRange } from '@acorex/cdk/common';\n\ninterface RecurrenceSource {\n date: Date;\n isRecurring: boolean;\n recurrenceRule?: string | null;\n}\n\nfunction startOfDay(date: Date): Date {\n const normalized = new Date(date);\n normalized.setHours(0, 0, 0, 0);\n return normalized;\n}\n\nfunction parseRecurrenceRule(rule: string): Record<string, string> {\n return Object.fromEntries(\n rule\n .split(';')\n .map((part) => part.trim())\n .filter(Boolean)\n .map((part) => {\n const [key, value] = part.split('=');\n return [key, value ?? ''];\n }),\n );\n}\n\n/**\n * Expands occasion occurrences using the canonical ISO (Gregorian) anchor date.\n * Calendar display system does not change which absolute days are matched.\n */\nexport function expandCalendarOccasionOccurrences(\n occasion: RecurrenceSource,\n range: AXRange<Date>,\n): Date[] {\n const rangeStart = startOfDay(range.from);\n const rangeEnd = startOfDay(range.end);\n const anchor = startOfDay(new Date(occasion.date));\n\n if (!occasion.isRecurring) {\n return anchor >= rangeStart && anchor <= rangeEnd ? [anchor] : [];\n }\n\n const params = occasion.recurrenceRule?.trim()\n ? parseRecurrenceRule(occasion.recurrenceRule)\n : { FREQ: 'YEARLY' };\n\n if (params['FREQ'] && params['FREQ'] !== 'YEARLY') {\n return anchor >= rangeStart && anchor <= rangeEnd ? [anchor] : [];\n }\n\n const month = anchor.getMonth();\n const day = anchor.getDate();\n const dates: Date[] = [];\n const startYear = range.from.getFullYear() - 1;\n const endYear = range.end.getFullYear() + 1;\n\n for (let year = startYear; year <= endYear; year++) {\n const occurrence = new Date(year, month, day);\n occurrence.setHours(0, 0, 0, 0);\n if (occurrence >= rangeStart && occurrence <= rangeEnd) {\n dates.push(occurrence);\n }\n }\n\n return dates;\n}\n","import { resolveMultiLanguageString } from '@acorex/core/translation';\nimport type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n\nexport function resolveCalendarLocalizedText(\n value: AXPMultiLanguageString | string | null | undefined,\n locale: string,\n): string {\n if (value == null) {\n return '';\n }\n\n if (typeof value === 'string') {\n return value.trim();\n }\n\n return resolveMultiLanguageString(value, locale).trim();\n}\n","import { AXDataSourceFilterOption, AXRange } from '@acorex/cdk/common';\nimport { AXHolidayDate } from '@acorex/core/date-time';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { inject, Injectable } from '@angular/core';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-calendar-management-client/contracts';\nimport { AXMCalendarManagementCalendarOccasionEntityModel } from '@acorex-platform/module-calendar-management-client/contracts';\nimport { AXMCalendarManagementCalendarEntityModel } from '@acorex-platform/module-calendar-management-client/contracts';\nimport { mapCalendarOccasionToHolidayDate } from './calendar-occasion-holiday.mapper';\nimport { expandCalendarOccasionOccurrences } from './calendar-occasion-recurrence.utils';\nimport { resolveCalendarLocalizedText } from './calendar-localization.utils';\n\nexport interface AXMCalendarManagementOccasion {\n date: Date;\n isPublicHoliday: boolean;\n type: {\n color: string;\n icon?: string;\n };\n title: string;\n description?: string;\n}\n\n/** Active calendars only (non-archived, including rows without `isArchived`). */\nconst NON_ARCHIVED_CALENDAR_FILTER: AXDataSourceFilterOption = {\n logic: 'or',\n filters: [\n { field: 'isArchived', operator: { type: 'equal' }, value: false },\n { field: 'isArchived', operator: { type: 'isNull' } },\n ],\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXMCalendarManagementService {\n private readonly entityService = inject(AXPEntityService);\n private readonly translationService = inject(AXTranslationService);\n\n //#region ---- Data Accessors ----\n\n private readonly calendarOccasionDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.calendarOccasion.name)\n .data<string, AXMCalendarManagementCalendarOccasionEntityModel>();\n\n private readonly calendarDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.calendar.name)\n .data<string, AXMCalendarManagementCalendarEntityModel>();\n\n //#endregion\n\n //#region ---- Methods ----\n\n async getCalendars(): Promise<{ id: string, title: string }[]> {\n const calendars = await this.calendarDataAccessor.query({\n skip: 0,\n take: 9999,\n filter: {\n logic: 'and',\n filters: [NON_ARCHIVED_CALENDAR_FILTER],\n },\n });\n const locale = this.translationService.getActiveLang();\n return calendars.items.map(\n (calendar: AXMCalendarManagementCalendarEntityModel) =>\n ({\n id: calendar.id,\n title: resolveCalendarLocalizedText(calendar.title, locale),\n }),\n );\n }\n\n async getOccasions(range: AXRange<Date>, calendarIds?: string[]): Promise<AXMCalendarManagementOccasion[]> {\n if (!calendarIds || calendarIds.length === 0) {\n return [];\n }\n\n const calendars = await this.calendarDataAccessor.query({\n skip: 0,\n take: 9999,\n filter: {\n logic: 'and',\n filters: [\n { field: 'id', operator: { type: 'in' }, value: calendarIds },\n NON_ARCHIVED_CALENDAR_FILTER,\n ],\n },\n });\n\n if (calendars.items.length === 0) {\n return [];\n }\n\n const filters: AXDataSourceFilterOption[] = [\n { field: 'calendarId', operator: { type: 'in' }, value: calendarIds },\n {\n logic: 'or',\n filters: [\n { field: 'isRecurring', operator: { type: 'equal' }, value: true },\n {\n logic: 'and',\n filters: [\n { field: 'date', operator: { type: 'gte' }, value: range.from },\n { field: 'date', operator: { type: 'lte' }, value: range.end },\n ],\n },\n ],\n },\n ];\n\n const occasions = await this.calendarOccasionDataAccessor.query({\n skip: 0,\n take: 9999,\n filter: {\n logic: 'and',\n filters,\n },\n });\n\n const locale = this.translationService.getActiveLang();\n const expandedOccasions: AXMCalendarManagementOccasion[] = [];\n\n for (const occasion of occasions.items) {\n const occurrenceDates = expandCalendarOccasionOccurrences(occasion, range);\n\n for (const date of occurrenceDates) {\n expandedOccasions.push({\n date,\n title: resolveCalendarLocalizedText(occasion.title, locale),\n description: resolveCalendarLocalizedText(occasion.description, locale) || undefined,\n isPublicHoliday: occasion.isPublicHoliday ?? occasion.type?.isPublicHoliday ?? false,\n type: {\n color: occasion.type?.color ?? '#6b7280',\n icon: occasion.type?.icon,\n },\n });\n }\n }\n\n return expandedOccasions.sort((left, right) => left.date.getTime() - right.date.getTime());\n }\n\n async getHolidayDates(range: AXRange<Date>, calendarIds?: string[]): Promise<AXHolidayDate[]> {\n const occasions = await this.getOccasions(range, calendarIds);\n return occasions.map((occasion) => mapCalendarOccasionToHolidayDate(occasion));\n }\n\n //#endregion\n}\n","import { AXRange } from '@acorex/cdk/common';\nimport {\n AX_DATETIME_HOLIDAYS_LOADER,\n AXCalendarService,\n AXHolidayDate,\n AXHolidaysLoader,\n AXHolidaysLoaderOptions,\n} from '@acorex/core/date-time';\nimport { AXPSettingsService } from '@acorex-platform/framework-client/common';\nimport { AXPRegionalSetting } from '@acorex-platform/framework-shared/core';\nimport { inject, Injectable } from '@angular/core';\nimport { normalizeRegionalCalendarEventIds } from './calendar-event-ids.utils';\nimport { mapCalendarOccasionToHolidayDate } from './calendar-occasion-holiday.mapper';\nimport { AXMCalendarManagementService } from './calendar-management.service';\n\nfunction resolveHolidayRange(options?: AXHolidaysLoaderOptions): AXRange<Date> {\n if (options?.range) {\n return {\n from: options.range.start,\n end: options.range.end,\n };\n }\n\n const now = new Date();\n return {\n from: new Date(now.getFullYear() - 2, 0, 1),\n end: new Date(now.getFullYear() + 2, 11, 31),\n };\n}\n\n@Injectable()\nexport class AXMCalendarManagementHolidaysLoader implements AXHolidaysLoader {\n private readonly calendarManagementService = inject(AXMCalendarManagementService);\n private readonly settingsService = inject(AXPSettingsService);\n\n async getHolidays(options?: AXHolidaysLoaderOptions): Promise<AXHolidayDate[]> {\n const range = resolveHolidayRange(options);\n const calendarIds = await this.resolveCalendarIds();\n\n if (calendarIds.length === 0) {\n return [];\n }\n\n const occasions = await this.calendarManagementService.getOccasions(range, calendarIds);\n return occasions.map((occasion) => mapCalendarOccasionToHolidayDate(occasion));\n }\n\n private async resolveCalendarIds(): Promise<string[]> {\n // An empty selection means \"no calendars\", so no holidays should be loaded.\n // Falling back to every calendar here made the scheduler render all holidays\n // whenever the user cleared the calendar selection.\n return normalizeRegionalCalendarEventIds(\n await this.settingsService.get(AXPRegionalSetting.CalendarEvents),\n );\n }\n}\n\nexport const AXM_CALENDAR_MANAGEMENT_HOLIDAYS_LOADER_PROVIDER = {\n provide: AX_DATETIME_HOLIDAYS_LOADER,\n useClass: AXMCalendarManagementHolidaysLoader,\n};\n","import { AXCalendarService } from '@acorex/core/date-time';\nimport { AXPSettingsService } from '@acorex-platform/framework-client/common';\nimport { AXPRegionalSetting } from '@acorex-platform/framework-shared/core';\nimport { inject, Injectable } from '@angular/core';\n\nconst HOLIDAY_RELOAD_SETTING_KEYS = [\n AXPRegionalSetting.CalendarEvents,\n AXPRegionalSetting.Language,\n AXPRegionalSetting.LocaleProfile,\n] as const;\n\n@Injectable({ providedIn: 'root' })\nexport class AXMCalendarManagementHolidaysSyncService {\n private readonly calendarService = inject(AXCalendarService);\n private readonly settingsService = inject(AXPSettingsService);\n\n constructor() {\n this.settingsService.onLoaded.subscribe(() => {\n void this.reloadHolidays();\n });\n\n this.settingsService.onChanged.subscribe((change) => {\n if (change.keys.some((key) => (HOLIDAY_RELOAD_SETTING_KEYS as readonly string[]).includes(key))) {\n void this.reloadHolidays();\n }\n });\n }\n\n private reloadHolidays(): Promise<void> {\n return this.calendarService.loadHolidays();\n }\n}\n","import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { CalendarManagementManifest } from './manifest';\nimport { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { provideQuerySetups } from '@acorex-platform/framework-client/runtime';\nimport { CommonModule } from '@angular/common';\nimport { inject, NgModule } from '@angular/core';\nimport { AXM_CALENDAR_MANAGEMENT_HOLIDAYS_LOADER_PROVIDER } from './features/shared/calendar-management-holidays.loader';\nimport { AXMCalendarManagementHolidaysSyncService } from './features/shared/calendar-management-holidays.sync';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n providers: [\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: CalendarManagementManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n provideLazyProvider(\n AXP_PERMISSION_DEFINITION_PROVIDER,\n () => import('./permission-definition.provider').then(m => m.AXMCalendarManagementPermissionDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_MENU_PROVIDER,\n () => import('./menu.provider').then(m => m.AXMCalendarManagementMenuProvider)\n ),\n \n provideLazyProvider(\n AXP_SEARCH_PROVIDER,\n () => import('./search-command.provider').then(m => m.AXMCalendarManagementSearchCommandProvider)\n ),\n provideQuerySetups([\n {\n key: 'CalendarManagement:ListCalendarSystems',\n loader: () =>\n import('./features/queries/list-calendar-systems.query').then(\n (c) => c.AXMListCalendarSystemsQuery,\n ),\n },\n ]),\n AXM_CALENDAR_MANAGEMENT_HOLIDAYS_LOADER_PROVIDER,\n ],\n})\nexport class AXMCalendarManagementModule {\n constructor() {\n inject(AXMCalendarManagementHolidaysSyncService);\n }\n}\n","//#region ---- Imports ----\n\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n RootConfig,\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-calendar-management-client/contracts';\nimport { AXPCalendarManagementMenuKeys } from '@acorex-platform/module-calendar-management-client/contracts';\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMCalendarManagementMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPCollaborationPermissionKeys;\n\n context.find(AXPCommonMenuKeys.DateAndTime).addItems([\n {\n name: AXPCalendarManagementMenuKeys.Calendars,\n text: '@calendar-management:calendars.entities.calendar.plural',\n path: this.entityService.createPath(module.name, RootConfig.entities.calendar.name),\n icon: RootConfig.entities.calendar.icon,\n priority: 2,\n policy: {\n features: [module.name],\n permissions: [keys.MaintainCalendars],\n },\n },\n {\n name: AXPCalendarManagementMenuKeys.CalendarOccasionTypes,\n text: '@calendar-management:calendar-occasion-types.entities.calendar-occasion-type.plural',\n path: this.entityService.createPath(module.name, RootConfig.entities.calendarOccasionType.name),\n icon: RootConfig.entities.calendarOccasionType.icon,\n priority: 3,\n policy: {\n features: [module.name],\n permissions: [keys.Setup],\n },\n },\n ]);\n }\n}\n\n//#endregion\n","//#region ----- Imports -----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-calendar-management-client/contracts';\n\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ----- Permission Definition Provider -----\n\n/**\n * Registers calendar capabilities into the shared Collaboration group.\n */\n@Injectable()\nexport class AXMCalendarManagementPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPCollaborationPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:collaboration.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(groups.Collaboration.Root, `${G}.collaboration.title`, `${G}.collaboration.description`, { order: 80 });\n\n context\n .addGroup(\n groups.Collaboration.Scheduling,\n `${G}.collaboration-scheduling.title`,\n `${G}.collaboration-scheduling.description`,\n { parent: groups.Collaboration.Root, order: 20 },\n )\n .addPermission(keys.MaintainCalendars, `${P}.maintain-calendars.title`, `${P}.maintain-calendars.description`)\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","import { AXPSearchCommandProvider, AXPSearchResult, createEntityCommandOptions } from '@acorex-platform/framework-client/common';\nimport { RootConfig } from '@acorex-platform/module-calendar-management-client/contracts';\n\nexport class AXMCalendarManagementSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n {\n id: 'create-calendar',\n group: 'command',\n title: RootConfig.entities.calendar.title,\n icon: RootConfig.entities.calendar.icon,\n description: RootConfig.entities.calendar.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.calendar.name}`,\n {\n name: RootConfig.entities.calendar.name,\n module: RootConfig.module.name,\n title: RootConfig.entities.calendar.title,\n }\n ),\n },\n },\n {\n id: 'create-calendar-occasion-type',\n group: 'command',\n title: RootConfig.entities.calendarOccasionType.title,\n icon: RootConfig.entities.calendarOccasionType.icon,\n description: RootConfig.entities.calendarOccasionType.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.calendarOccasionType.name}`,\n {\n name: RootConfig.entities.calendarOccasionType.name,\n module: RootConfig.module.name,\n title: RootConfig.entities.calendarOccasionType.title,\n }\n ),\n },\n },\n ];\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,0BAA0B,GAAsB;AAC3D,IAAA,IAAI,EAAE,UA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AAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,EAChE;AACE,wBAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI;AACvC,wBAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,wBAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK;qBAC1C,CACF;AACF,iBAAA;AACF,aAAA;AACD,YAAA;AACE,gBAAA,EAAE,EAAE,+BAA+B;AACnC,gBAAA,KAAK,EAAE,SAAS;AAChB,gBAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,KAAK;AACrD,gBAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI;AACnD,gBAAA,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,WAAW;AACjE,gBAAA,OAAO,EAAE;AACP,oBAAA,IAAI,EAAE,eAAe;AACrB,oBAAA,OAAO,EAAE,0BAA0B,CACjC,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,EAAE,EAC5E;AACE,wBAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI;AACnD,wBAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,wBAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,KAAK;qBACtD,CACF;AACF,iBAAA;AACF,aAAA;SACF;IACH;AAAC;;;;;;;AC1CD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-calendar-management-client.mjs","sources":["../../../../libs/modules/calendar-management/client/src/lib/manifest.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-event-ids.utils.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-occasion-holiday.mapper.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-occasion-recurrence.utils.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-localization.utils.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-management.service.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-management-holidays.loader.ts","../../../../libs/modules/calendar-management/client/src/lib/features/shared/calendar-management-holidays.sync.ts","../../../../libs/modules/calendar-management/client/src/lib/calendar-management.module.ts","../../../../libs/modules/calendar-management/client/src/lib/menu.provider.ts","../../../../libs/modules/calendar-management/client/src/lib/permission-definition.provider.ts","../../../../libs/modules/calendar-management/client/src/lib/search-command.provider.ts","../../../../libs/modules/calendar-management/client/src/acorex-platform-module-calendar-management-client.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPModuleManifest } from '@acorex-platform/framework-client/core';\nimport { RootConfig } from '@acorex-platform/module-calendar-management-client/contracts';\n\n//#endregion\n\n//#region ---- Manifest Definition ----\n\n/**\n * Calendar Management Module Manifest.\n * Defines module metadata, features, and provider references.\n */\nexport const CalendarManagementManifest: AXPModuleManifest = {\n name: RootConfig.module.name,\n version: '1.0.0',\n title: RootConfig.module.title,\n icon: RootConfig.module.icon,\n i18n: RootConfig.config.i18n,\n type: 'platform',\n domain: 'platform',\n required: true,\n\n // Module dependencies (optional)\n};\n\n//#endregion\n\n","/** Normalizes regional calendar-event setting values to calendar ids. */\nexport function normalizeRegionalCalendarEventIds(value: unknown): string[] {\n if (value == null) {\n return [];\n }\n\n const values = Array.isArray(value) ? value : [value];\n return [\n ...new Set(\n values\n .map((item) => {\n if (typeof item === 'string' || typeof item === 'number') {\n return String(item);\n }\n if (item && typeof item === 'object' && 'id' in item) {\n return String((item as { id: string | number }).id);\n }\n return '';\n })\n .filter(Boolean),\n ),\n ];\n}\n","import { AXHolidayDate } from '@acorex/core/date-time';\nimport type { AXMCalendarManagementOccasion } from './calendar-management.service';\n\nconst STYLE_ELEMENT_ID = 'axm-calendar-occasion-holiday-styles';\nconst registeredColorClasses = new Set<string>();\n\nfunction hexToRgb(hex: string): { r: number; g: number; b: number } | null {\n const value = hex.replace('#', '').trim();\n if (!/^[0-9a-fA-F]{6}$/.test(value)) {\n return null;\n }\n\n return {\n r: Number.parseInt(value.slice(0, 2), 16),\n g: Number.parseInt(value.slice(2, 4), 16),\n b: Number.parseInt(value.slice(4, 6), 16),\n };\n}\n\nfunction resolveOccasionColorClass(color: string): string {\n const normalized = color.toLowerCase();\n const token = normalized.replace('#', '');\n const className = `axm-calendar-occasion-${token}`;\n\n if (registeredColorClasses.has(className)) {\n return className;\n }\n\n registeredColorClasses.add(className);\n registerOccasionColorStyles(normalized, className);\n return className;\n}\n\nfunction registerOccasionColorStyles(color: string, className: string): void {\n if (typeof document === 'undefined') {\n return;\n }\n\n let styleElement = document.getElementById(STYLE_ELEMENT_ID) as HTMLStyleElement | null;\n if (!styleElement) {\n styleElement = document.createElement('style');\n styleElement.id = STYLE_ELEMENT_ID;\n document.head.appendChild(styleElement);\n }\n\n const rgb = hexToRgb(color);\n const backgroundColor = rgb ? `rgba(${rgb.r}, ${rgb.g}, ${rgb.b}, 0.14)` : 'transparent';\n\n styleElement.appendChild(\n document.createTextNode(`\n ax-scheduler .ax-scheduler-month-day-cell.${className},\n ax-calendar .ax-calendar-day.${className} {\n background-color: ${backgroundColor};\n }\n\n ax-scheduler .ax-scheduler-month-day-cell.${className} .ax-scheduler-month-day-number,\n ax-scheduler .ax-scheduler-month-header-date-day.${className},\n ax-scheduler .ax-scheduler-week-header-date-day.${className},\n ax-scheduler .ax-scheduler-year-header-date-day.${className},\n ax-scheduler .ax-scheduler-agenda-view-container.${className} .ax-scheduler-agenda-header-date-day,\n ax-calendar .ax-calendar-day.${className} .ax-calendar-day-number {\n color: ${color};\n font-weight: 700;\n }\n `),\n );\n}\n\nexport function mapCalendarOccasionToHolidayDate(occasion: AXMCalendarManagementOccasion): AXHolidayDate {\n if (occasion.isPublicHoliday) {\n return {\n date: occasion.date,\n title: occasion.title,\n description: occasion.description,\n cssClass: 'ax-state-holiday',\n icon: occasion.type.icon,\n isHoliday: true,\n };\n }\n\n const color = occasion.type.color || '#6b7280';\n\n return {\n date: occasion.date,\n title: occasion.title,\n description: occasion.description,\n cssClass: resolveOccasionColorClass(color),\n color,\n icon: occasion.type.icon,\n isHoliday: false,\n };\n}\n","import { AXRange } from '@acorex/cdk/common';\n\ninterface RecurrenceSource {\n date: Date;\n isRecurring: boolean;\n recurrenceRule?: string | null;\n}\n\nfunction startOfDay(date: Date): Date {\n const normalized = new Date(date);\n normalized.setHours(0, 0, 0, 0);\n return normalized;\n}\n\nfunction parseRecurrenceRule(rule: string): Record<string, string> {\n return Object.fromEntries(\n rule\n .split(';')\n .map((part) => part.trim())\n .filter(Boolean)\n .map((part) => {\n const [key, value] = part.split('=');\n return [key, value ?? ''];\n }),\n );\n}\n\n/**\n * Expands occasion occurrences using the canonical ISO (Gregorian) anchor date.\n * Calendar display system does not change which absolute days are matched.\n */\nexport function expandCalendarOccasionOccurrences(\n occasion: RecurrenceSource,\n range: AXRange<Date>,\n): Date[] {\n const rangeStart = startOfDay(range.from);\n const rangeEnd = startOfDay(range.end);\n const anchor = startOfDay(new Date(occasion.date));\n\n if (!occasion.isRecurring) {\n return anchor >= rangeStart && anchor <= rangeEnd ? [anchor] : [];\n }\n\n const params = occasion.recurrenceRule?.trim()\n ? parseRecurrenceRule(occasion.recurrenceRule)\n : { FREQ: 'YEARLY' };\n\n if (params['FREQ'] && params['FREQ'] !== 'YEARLY') {\n return anchor >= rangeStart && anchor <= rangeEnd ? [anchor] : [];\n }\n\n const month = anchor.getMonth();\n const day = anchor.getDate();\n const dates: Date[] = [];\n const startYear = range.from.getFullYear() - 1;\n const endYear = range.end.getFullYear() + 1;\n\n for (let year = startYear; year <= endYear; year++) {\n const occurrence = new Date(year, month, day);\n occurrence.setHours(0, 0, 0, 0);\n if (occurrence >= rangeStart && occurrence <= rangeEnd) {\n dates.push(occurrence);\n }\n }\n\n return dates;\n}\n","import { resolveMultiLanguageString } from '@acorex/core/translation';\nimport type { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';\n\nexport function resolveCalendarLocalizedText(\n value: AXPMultiLanguageString | string | null | undefined,\n locale: string,\n): string {\n if (value == null) {\n return '';\n }\n\n if (typeof value === 'string') {\n return value.trim();\n }\n\n return resolveMultiLanguageString(value, locale).trim();\n}\n","import { AXDataSourceFilterOption, AXRange } from '@acorex/cdk/common';\nimport { AXHolidayDate } from '@acorex/core/date-time';\nimport { AXTranslationService } from '@acorex/core/translation';\nimport { inject, Injectable } from '@angular/core';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { RootConfig } from '@acorex-platform/module-calendar-management-client/contracts';\nimport { AXMCalendarManagementCalendarOccasionEntityModel } from '@acorex-platform/module-calendar-management-client/contracts';\nimport { AXMCalendarManagementCalendarEntityModel } from '@acorex-platform/module-calendar-management-client/contracts';\nimport { mapCalendarOccasionToHolidayDate } from './calendar-occasion-holiday.mapper';\nimport { expandCalendarOccasionOccurrences } from './calendar-occasion-recurrence.utils';\nimport { resolveCalendarLocalizedText } from './calendar-localization.utils';\n\nexport interface AXMCalendarManagementOccasion {\n date: Date;\n isPublicHoliday: boolean;\n type: {\n color: string;\n icon?: string;\n };\n title: string;\n description?: string;\n}\n\n/** Active calendars only (non-archived, including rows without `isArchived`). */\nconst NON_ARCHIVED_CALENDAR_FILTER: AXDataSourceFilterOption = {\n logic: 'or',\n filters: [\n { field: 'isArchived', operator: { type: 'equal' }, value: false },\n { field: 'isArchived', operator: { type: 'isNull' } },\n ],\n};\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXMCalendarManagementService {\n private readonly entityService = inject(AXPEntityService);\n private readonly translationService = inject(AXTranslationService);\n\n //#region ---- Data Accessors ----\n\n private readonly calendarOccasionDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.calendarOccasion.name)\n .data<string, AXMCalendarManagementCalendarOccasionEntityModel>();\n\n private readonly calendarDataAccessor = this.entityService\n .withEntity(RootConfig.module.name, RootConfig.entities.calendar.name)\n .data<string, AXMCalendarManagementCalendarEntityModel>();\n\n //#endregion\n\n //#region ---- Methods ----\n\n async getCalendars(): Promise<{ id: string, title: string }[]> {\n const calendars = await this.calendarDataAccessor.query({\n skip: 0,\n take: 9999,\n filter: {\n logic: 'and',\n filters: [NON_ARCHIVED_CALENDAR_FILTER],\n },\n });\n const locale = this.translationService.getActiveLang();\n return calendars.items.map(\n (calendar: AXMCalendarManagementCalendarEntityModel) =>\n ({\n id: calendar.id,\n title: resolveCalendarLocalizedText(calendar.title, locale),\n }),\n );\n }\n\n async getOccasions(range: AXRange<Date>, calendarIds?: string[]): Promise<AXMCalendarManagementOccasion[]> {\n if (!calendarIds || calendarIds.length === 0) {\n return [];\n }\n\n const calendars = await this.calendarDataAccessor.query({\n skip: 0,\n take: 9999,\n filter: {\n logic: 'and',\n filters: [\n { field: 'id', operator: { type: 'in' }, value: calendarIds },\n NON_ARCHIVED_CALENDAR_FILTER,\n ],\n },\n });\n\n if (calendars.items.length === 0) {\n return [];\n }\n\n const filters: AXDataSourceFilterOption[] = [\n { field: 'calendarId', operator: { type: 'in' }, value: calendarIds },\n {\n logic: 'or',\n filters: [\n { field: 'isRecurring', operator: { type: 'equal' }, value: true },\n {\n logic: 'and',\n filters: [\n { field: 'date', operator: { type: 'gte' }, value: range.from },\n { field: 'date', operator: { type: 'lte' }, value: range.end },\n ],\n },\n ],\n },\n ];\n\n const occasions = await this.calendarOccasionDataAccessor.query({\n skip: 0,\n take: 9999,\n filter: {\n logic: 'and',\n filters,\n },\n });\n\n const locale = this.translationService.getActiveLang();\n const expandedOccasions: AXMCalendarManagementOccasion[] = [];\n\n for (const occasion of occasions.items) {\n const occurrenceDates = expandCalendarOccasionOccurrences(occasion, range);\n\n for (const date of occurrenceDates) {\n expandedOccasions.push({\n date,\n title: resolveCalendarLocalizedText(occasion.title, locale),\n description: resolveCalendarLocalizedText(occasion.description, locale) || undefined,\n isPublicHoliday: occasion.isPublicHoliday ?? occasion.type?.isPublicHoliday ?? false,\n type: {\n color: occasion.type?.color ?? '#6b7280',\n icon: occasion.type?.icon,\n },\n });\n }\n }\n\n return expandedOccasions.sort((left, right) => left.date.getTime() - right.date.getTime());\n }\n\n async getHolidayDates(range: AXRange<Date>, calendarIds?: string[]): Promise<AXHolidayDate[]> {\n const occasions = await this.getOccasions(range, calendarIds);\n return occasions.map((occasion) => mapCalendarOccasionToHolidayDate(occasion));\n }\n\n //#endregion\n}\n","import { AXRange } from '@acorex/cdk/common';\nimport {\n AX_DATETIME_HOLIDAYS_LOADER,\n AXCalendarService,\n AXHolidayDate,\n AXHolidaysLoader,\n AXHolidaysLoaderOptions,\n} from '@acorex/core/date-time';\nimport { AXPSettingsService } from '@acorex-platform/framework-client/common';\nimport { AXPRegionalSetting } from '@acorex-platform/framework-shared/core';\nimport { inject, Injectable } from '@angular/core';\nimport { normalizeRegionalCalendarEventIds } from './calendar-event-ids.utils';\nimport { mapCalendarOccasionToHolidayDate } from './calendar-occasion-holiday.mapper';\nimport { AXMCalendarManagementService } from './calendar-management.service';\n\nfunction resolveHolidayRange(options?: AXHolidaysLoaderOptions): AXRange<Date> {\n if (options?.range) {\n return {\n from: options.range.start,\n end: options.range.end,\n };\n }\n\n const now = new Date();\n return {\n from: new Date(now.getFullYear() - 2, 0, 1),\n end: new Date(now.getFullYear() + 2, 11, 31),\n };\n}\n\n@Injectable()\nexport class AXMCalendarManagementHolidaysLoader implements AXHolidaysLoader {\n private readonly calendarManagementService = inject(AXMCalendarManagementService);\n private readonly settingsService = inject(AXPSettingsService);\n\n async getHolidays(options?: AXHolidaysLoaderOptions): Promise<AXHolidayDate[]> {\n const range = resolveHolidayRange(options);\n const calendarIds = await this.resolveCalendarIds();\n\n if (calendarIds.length === 0) {\n return [];\n }\n\n const occasions = await this.calendarManagementService.getOccasions(range, calendarIds);\n return occasions.map((occasion) => mapCalendarOccasionToHolidayDate(occasion));\n }\n\n private async resolveCalendarIds(): Promise<string[]> {\n // An empty selection means \"no calendars\", so no holidays should be loaded.\n // Falling back to every calendar here made the scheduler render all holidays\n // whenever the user cleared the calendar selection.\n return normalizeRegionalCalendarEventIds(\n await this.settingsService.get(AXPRegionalSetting.CalendarEvents),\n );\n }\n}\n\nexport const AXM_CALENDAR_MANAGEMENT_HOLIDAYS_LOADER_PROVIDER = {\n provide: AX_DATETIME_HOLIDAYS_LOADER,\n useClass: AXMCalendarManagementHolidaysLoader,\n};\n","import { AXCalendarService } from '@acorex/core/date-time';\nimport { AXPSettingsService } from '@acorex-platform/framework-client/common';\nimport { AXPRegionalSetting } from '@acorex-platform/framework-shared/core';\nimport { inject, Injectable } from '@angular/core';\n\nconst HOLIDAY_RELOAD_SETTING_KEYS = [\n AXPRegionalSetting.CalendarEvents,\n AXPRegionalSetting.Language,\n AXPRegionalSetting.LocaleProfile,\n] as const;\n\n@Injectable({ providedIn: 'root' })\nexport class AXMCalendarManagementHolidaysSyncService {\n private readonly calendarService = inject(AXCalendarService);\n private readonly settingsService = inject(AXPSettingsService);\n\n constructor() {\n this.settingsService.onLoaded.subscribe(() => {\n void this.reloadHolidays();\n });\n\n this.settingsService.onChanged.subscribe((change) => {\n if (change.keys.some((key) => (HOLIDAY_RELOAD_SETTING_KEYS as readonly string[]).includes(key))) {\n void this.reloadHolidays();\n }\n });\n }\n\n private reloadHolidays(): Promise<void> {\n return this.calendarService.loadHolidays();\n }\n}\n","import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider } from '@acorex-platform/framework-client/core';\nimport { CalendarManagementManifest } from './manifest';\nimport { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex-platform/framework-client/common';\nimport { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex-platform/framework-client/auth';\nimport { provideQuerySetups } from '@acorex-platform/framework-client/runtime';\nimport { CommonModule } from '@angular/common';\nimport { inject, NgModule } from '@angular/core';\nimport { AXM_CALENDAR_MANAGEMENT_HOLIDAYS_LOADER_PROVIDER } from './features/shared/calendar-management-holidays.loader';\nimport { AXMCalendarManagementHolidaysSyncService } from './features/shared/calendar-management-holidays.sync';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n providers: [\n // Module Manifest Provider\n {\n provide: AXP_MODULE_MANIFEST_PROVIDER,\n useValue: CalendarManagementManifest,\n multi: true,\n },\n // Provider references (now using tokens)\n provideLazyProvider(\n AXP_PERMISSION_DEFINITION_PROVIDER,\n () => import('./permission-definition.provider').then(m => m.AXMCalendarManagementPermissionDefinitionProvider)\n ),\n provideLazyProvider(\n AXP_MENU_PROVIDER,\n () => import('./menu.provider').then(m => m.AXMCalendarManagementMenuProvider)\n ),\n \n provideLazyProvider(\n AXP_SEARCH_PROVIDER,\n () => import('./search-command.provider').then(m => m.AXMCalendarManagementSearchCommandProvider)\n ),\n provideQuerySetups([\n {\n key: 'CalendarManagement:ListCalendarSystems',\n loader: () =>\n import('./features/queries/list-calendar-systems.query').then(\n (c) => c.AXMListCalendarSystemsQuery,\n ),\n },\n ]),\n AXM_CALENDAR_MANAGEMENT_HOLIDAYS_LOADER_PROVIDER,\n ],\n})\nexport class AXMCalendarManagementModule {\n constructor() {\n inject(AXMCalendarManagementHolidaysSyncService);\n }\n}\n","//#region ---- Imports ----\n\nimport { AXPMenuProvider, AXPMenuProviderContext } from '@acorex-platform/framework-client/common';\nimport { AXPEntityService } from '@acorex-platform/framework-client/layout/entity';\nimport { inject } from '@angular/core';\nimport {\n AXPCommonMenuKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n RootConfig,\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-calendar-management-client/contracts';\nimport { AXPCalendarManagementMenuKeys } from '@acorex-platform/module-calendar-management-client/contracts';\n\n//#endregion\n\n//#region ---- Menu Provider ----\n\nexport class AXMCalendarManagementMenuProvider implements AXPMenuProvider {\n private entityService = inject(AXPEntityService);\n\n async provide(context: AXPMenuProviderContext): Promise<void> {\n const module = RootConfig.module;\n const keys = AXPCollaborationPermissionKeys;\n\n context.find(AXPCommonMenuKeys.DateAndTime).addItems([\n {\n name: AXPCalendarManagementMenuKeys.Calendars,\n text: '@calendar-management:calendars.entities.calendar.plural',\n path: this.entityService.createPath(module.name, RootConfig.entities.calendar.name),\n icon: RootConfig.entities.calendar.icon,\n priority: 2,\n policy: {\n features: [module.name],\n permissions: [keys.MaintainCalendars],\n },\n },\n {\n name: AXPCalendarManagementMenuKeys.CalendarOccasionTypes,\n text: '@calendar-management:calendar-occasion-types.entities.calendar-occasion-type.plural',\n path: this.entityService.createPath(module.name, RootConfig.entities.calendarOccasionType.name),\n icon: RootConfig.entities.calendarOccasionType.icon,\n priority: 3,\n policy: {\n features: [module.name],\n permissions: [keys.Setup],\n },\n },\n ]);\n }\n}\n\n//#endregion\n","//#region ----- Imports -----\n\nimport {\n AXPPermissionDefinitionProvider,\n AXPPermissionDefinitionProviderContext,\n} from '@acorex-platform/framework-client/auth';\nimport {\n AXPCommonPermissionGroupKeys\n} from '@acorex-platform/module-common-client/contracts';\nimport {\n AXPCollaborationPermissionKeys\n} from '@acorex-platform/module-calendar-management-client/contracts';\n\nimport { Injectable } from '@angular/core';\n\n//#endregion\n\n//#region ----- Permission Definition Provider -----\n\n/**\n * Registers calendar capabilities into the shared Collaboration group.\n */\n@Injectable()\nexport class AXMCalendarManagementPermissionDefinitionProvider implements AXPPermissionDefinitionProvider {\n async define(context: AXPPermissionDefinitionProviderContext): Promise<void> {\n const keys = AXPCollaborationPermissionKeys;\n const groups = AXPCommonPermissionGroupKeys;\n const P = '@common:collaboration.permissions';\n const G = '@common:permission-groups';\n\n context.addGroup(groups.Collaboration.Root, `${G}.collaboration.title`, `${G}.collaboration.description`, { order: 80 });\n\n context\n .addGroup(\n groups.Collaboration.Scheduling,\n `${G}.collaboration-scheduling.title`,\n `${G}.collaboration-scheduling.description`,\n { parent: groups.Collaboration.Root, order: 20 },\n )\n .addPermission(keys.MaintainCalendars, `${P}.maintain-calendars.title`, `${P}.maintain-calendars.description`)\n .endPermission()\n .endGroup();\n }\n}\n\n//#endregion\n","import { AXPSearchCommandProvider, AXPSearchResult, createEntityCommandOptions } from '@acorex-platform/framework-client/common';\nimport { RootConfig } from '@acorex-platform/module-calendar-management-client/contracts';\n\nexport class AXMCalendarManagementSearchCommandProvider extends AXPSearchCommandProvider {\n commands: AXPSearchResult[] = [\n {\n id: 'create-calendar',\n group: 'command',\n title: RootConfig.entities.calendar.title,\n icon: RootConfig.entities.calendar.icon,\n description: RootConfig.entities.calendar.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.calendar.name}`,\n {\n name: RootConfig.entities.calendar.name,\n module: RootConfig.module.name,\n title: RootConfig.entities.calendar.title,\n }\n ),\n },\n },\n {\n id: 'create-calendar-occasion-type',\n group: 'command',\n title: RootConfig.entities.calendarOccasionType.title,\n icon: RootConfig.entities.calendarOccasionType.icon,\n description: RootConfig.entities.calendarOccasionType.titlePlural,\n command: {\n name: 'Entity:Create',\n options: createEntityCommandOptions(\n `${RootConfig.module.name}.${RootConfig.entities.calendarOccasionType.name}`,\n {\n name: RootConfig.entities.calendarOccasionType.name,\n module: RootConfig.module.name,\n title: RootConfig.entities.calendarOccasionType.title,\n }\n ),\n },\n },\n ];\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;AAKA;AAEA;AAEA;;;AAGG;AACI,MAAM,0BAA0B,GAAsB;AAC3D,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,OAAO,EAAE,OAAO;AAChB,IAAA,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AAC9B,IAAA,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC5B,IAAA,IAAI,EAAE,UAAU,CA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;AAC9B,wBAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK;qBAC1C,CACF;AACF,iBAAA;AACF,aAAA;AACD,YAAA;AACE,gBAAA,EAAE,EAAE,+BAA+B;AACnC,gBAAA,KAAK,EAAE,SAAS;AAChB,gBAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,KAAK;AACrD,gBAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI;AACnD,gBAAA,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,WAAW;AACjE,gBAAA,OAAO,EAAE;AACP,oBAAA,IAAI,EAAE,eAAe;AACrB,oBAAA,OAAO,EAAE,0BAA0B,CACjC,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI,EAAE,EAC5E;AACE,wBAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,IAAI;AACnD,wBAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,wBAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,oBAAoB,CAAC,KAAK;qBACtD,CACF;AACF,iBAAA;AACF,aAAA;SACF;IACH;AAAC;;;;;;;AC1CD;;AAEG;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex-platform/module-calendar-management-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
@@ -22,6 +22,26 @@
|
|
|
22
22
|
"./contracts": {
|
|
23
23
|
"types": "./types/acorex-platform-module-calendar-management-client-contracts.d.ts",
|
|
24
24
|
"default": "./fesm2022/acorex-platform-module-calendar-management-client-contracts.mjs"
|
|
25
|
+
},
|
|
26
|
+
"./contracts/entities/calendar": {
|
|
27
|
+
"types": "./types/acorex-platform-module-calendar-management-client-contracts-entities-calendar.d.ts",
|
|
28
|
+
"default": "./fesm2022/acorex-platform-module-calendar-management-client-contracts-entities-calendar.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./contracts/entities/calendar-occasion": {
|
|
31
|
+
"types": "./types/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion.d.ts",
|
|
32
|
+
"default": "./fesm2022/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./contracts/entities/calendar-occasion-type": {
|
|
35
|
+
"types": "./types/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion-type.d.ts",
|
|
36
|
+
"default": "./fesm2022/acorex-platform-module-calendar-management-client-contracts-entities-calendar-occasion-type.mjs"
|
|
37
|
+
},
|
|
38
|
+
"./contracts/entity-catalog": {
|
|
39
|
+
"types": "./types/acorex-platform-module-calendar-management-client-contracts-entity-catalog.d.ts",
|
|
40
|
+
"default": "./fesm2022/acorex-platform-module-calendar-management-client-contracts-entity-catalog.mjs"
|
|
41
|
+
},
|
|
42
|
+
"./local-entities": {
|
|
43
|
+
"types": "./types/acorex-platform-module-calendar-management-client-local-entities.d.ts",
|
|
44
|
+
"default": "./fesm2022/acorex-platform-module-calendar-management-client-local-entities.mjs"
|
|
25
45
|
}
|
|
26
46
|
},
|
|
27
47
|
"type": "module"
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AXPLocalEntityCatalog } from '@acorex-platform/framework-shared/entity';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Lazy per-entity layout factories. Do not re-export from the contracts barrel
|
|
5
|
+
* so RootConfig imports stay light. Server seed and client `local-entities`
|
|
6
|
+
* consume this catalog explicitly.
|
|
7
|
+
*/
|
|
8
|
+
declare const calendarManagementLocalEntityCatalog: AXPLocalEntityCatalog;
|
|
9
|
+
|
|
10
|
+
export { calendarManagementLocalEntityCatalog };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
export { calendarManagementLocalEntityCatalog } from '@acorex-platform/module-calendar-management-client/contracts/entity-catalog';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Registers calendar-management layouts on the client from packaged factories.
|
|
6
|
+
* Each `import()` targets a secondary entry so unused entities stay out of the
|
|
7
|
+
* bundle. Do not add this to the demo app; demo continues to load layouts via
|
|
8
|
+
* `Domain:GetEntityLayout`.
|
|
9
|
+
*/
|
|
10
|
+
declare function provideCalendarManagementLocalEntities(): _angular_core.EnvironmentProviders;
|
|
11
|
+
|
|
12
|
+
export { provideCalendarManagementLocalEntities };
|