@acorex-platform/extension-weather-openweathermap-client 1.0.2 → 2.0.0-beta.1

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.
@@ -120,4 +120,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
120
120
  }] });
121
121
 
122
122
  export { ConnectOpenWeatherMapCommand };
123
- //# sourceMappingURL=acorex-platform-extension-weather-openweathermap-client-connect-openweathermap.command-V6yqCW6m.mjs.map
123
+ //# sourceMappingURL=acorex-platform-extension-weather-openweathermap-client-connect-openweathermap.command-C_yzuis8.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-platform-extension-weather-openweathermap-client-connect-openweathermap.command-V6yqCW6m.mjs","sources":["../../../../libs/extensions/weather/openweathermap/client/src/lib/features/connect/connect-openweathermap.command.ts"],"sourcesContent":["import { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport {\n AXP_INTEGRATION_AUTH_METHOD_TYPE,\n AXP_INTEGRATION_CONNECTION_STATUS,\n type AXPRuntimeCommandResult,\n type AXPIntegrationConnectionScope,\n} from '@acorex-platform/framework-shared/core';\nimport {\n AXMIntegrationConnectionManager,\n AXP_INTEGRATION_CREDENTIAL_MASK,\n hasConfiguredIntegrationCredentials,\n isMaskedIntegrationCredential,\n toSafeIntegrationConnectionDto,\n type ConnectCommandResult,\n} from '@acorex-platform/module-integration-management-client';\nimport {\n AXPLayoutBuilderService,\n resolveLayoutBuilderDialogResult,\n type AXPDialogRef,\n type IActionBuilder,\n type IDialogBuilder,\n type IFlexContainerBuilder,\n} from '@acorex-platform/framework-client/layout/builder';\nimport { Injectable, inject } from '@angular/core';\nimport { trim } from 'lodash-es';\nimport { RootConfig } from '@acorex-platform/extension-weather-openweathermap-client/contracts';\n\nexport interface ConnectOpenWeatherMapCommandInput {\n providerId?: string;\n connectionScope?: AXPIntegrationConnectionScope;\n}\n\ninterface OpenWeatherMapConnectFormResult {\n apiKey: string;\n}\n\n//#region ----- Connect OpenWeatherMap -----\n\n@Injectable({ providedIn: 'root' })\nexport class ConnectOpenWeatherMapCommand implements AXPCommand<ConnectOpenWeatherMapCommandInput, ConnectCommandResult> {\n private readonly layoutBuilder = inject(AXPLayoutBuilderService);\n private readonly connectionManager = inject(AXMIntegrationConnectionManager);\n\n async execute(input: ConnectOpenWeatherMapCommandInput = {}): AXPCommandExecuteResultPromise<ConnectCommandResult> {\n try {\n const providerId = input.providerId ?? RootConfig.integration.providerId;\n const connectionScope = input.connectionScope ?? 'tenant';\n const I18N = `@${RootConfig.config.i18n}:integration.connect`;\n const existing = await this.connectionManager.findByUniqueKey({\n providerId,\n connectionScope,\n connectionKey: 'default',\n });\n const isReconfigure = hasConfiguredIntegrationCredentials(existing);\n\n const form = await this.openConnectDialog({\n i18nPrefix: I18N,\n isReconfigure,\n apiKey: isReconfigure ? AXP_INTEGRATION_CREDENTIAL_MASK : '',\n });\n\n if (!form) {\n return { success: true, kind: 'object', data: { outcome: 'cancelled' } };\n }\n\n let apiKey = trim(form.apiKey);\n if (isMaskedIntegrationCredential(apiKey) && existing) {\n const config = (existing.config ?? {}) as { apiKey?: string };\n apiKey = trim(config.apiKey ?? '');\n }\n if (!apiKey) {\n return {\n success: false,\n message: { text: `${I18N}.pat-dialog.messages.api-key-required` },\n };\n }\n\n const connection = await this.connectionManager.upsertConnection({\n providerId,\n authMethodType: AXP_INTEGRATION_AUTH_METHOD_TYPE.Pat,\n connectionScope,\n connectionKey: 'default',\n displayName: existing?.displayName ?? 'OpenWeatherMap',\n instanceUrl: existing?.instanceUrl ?? null,\n externalAccountName: AXP_INTEGRATION_CREDENTIAL_MASK,\n config: { apiKey },\n status: AXP_INTEGRATION_CONNECTION_STATUS.Connected,\n isRevoked: false,\n isDisabled: false,\n });\n\n return { success: true, kind: 'object',\n data: { outcome: 'connected', connection: toSafeIntegrationConnectionDto(connection) },\n };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Failed to connect OpenWeatherMap.';\n return { success: false, message: { text: message } };\n }\n }\n\n private async openConnectDialog(input: {\n i18nPrefix: string;\n isReconfigure: boolean;\n apiKey: string;\n }): Promise<OpenWeatherMapConnectFormResult | null> {\n const result = await this.layoutBuilder\n .create()\n .dialog<OpenWeatherMapConnectFormResult | null>((dialog: IDialogBuilder<OpenWeatherMapConnectFormResult | null>) => {\n dialog\n .setTitle(\n input.isReconfigure\n ? `${input.i18nPrefix}.pat-dialog.configure-title`\n : `${input.i18nPrefix}.pat-dialog.title`,\n )\n .setSize('md')\n .setCloseButton(true)\n .setContext({ apiKey: input.apiKey })\n .content((flex: IFlexContainerBuilder) => {\n flex\n .setDirection('column')\n .setGap('12px')\n .customWidget('text-block-layout', {\n content: `${input.i18nPrefix}.pat-dialog.instructions`,\n })\n .formField(`${input.i18nPrefix}.pat-dialog.fields.api-key`, (field) => {\n field.path('apiKey');\n field.passwordBox({\n placeholder: `${input.i18nPrefix}.pat-dialog.placeholders.api-key`,\n revealToggle: true,\n validations: [{ rule: 'required' }],\n });\n });\n })\n .setActions((actions: IActionBuilder) => {\n actions\n .cancel('@general:actions.cancel.title')\n .submit(`${input.i18nPrefix}.pat-dialog.actions.save`);\n })\n .onAction(async (ref: AXPDialogRef) => {\n if (ref.action() === 'cancel') {\n return null;\n }\n const ctx = ref.context() as { apiKey?: string };\n const apiKey = trim(ctx.apiKey ?? '');\n if (!apiKey) {\n throw new Error(`${input.i18nPrefix}.pat-dialog.messages.api-key-required`);\n }\n return { apiKey };\n });\n })\n .show();\n\n return resolveLayoutBuilderDialogResult<OpenWeatherMapConnectFormResult>(result);\n }\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;;;;AAoCA;MAGa,4BAA4B,CAAA;AADzC,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,uBAAuB,CAAC;AAC/C,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CA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,CAAC,CAAA,EAAG,KAAK,CAAC,UAAU,CAAA,qCAAA,CAAuC,CAAC;gBAC7E;gBACA,OAAO,EAAE,MAAM,EAAE;AACnB,YAAA,CAAC,CAAC;AACN,QAAA,CAAC;AACA,aAAA,IAAI,EAAE;AAET,QAAA,OAAO,gCAAgC,CAAkC,MAAM,CAAC;IAClF;8GAlHW,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA5B,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,4BAA4B,cADf,MAAM,EAAA,CAAA,CAAA;;2FACnB,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADxC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
1
+ {"version":3,"file":"acorex-platform-extension-weather-openweathermap-client-connect-openweathermap.command-C_yzuis8.mjs","sources":["../../../../libs/extensions/weather/openweathermap/client/src/lib/features/connect/connect-openweathermap.command.ts"],"sourcesContent":["import { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport {\n AXP_INTEGRATION_AUTH_METHOD_TYPE,\n AXP_INTEGRATION_CONNECTION_STATUS,\n type AXPRuntimeCommandResult,\n type AXPIntegrationConnectionScope,\n} from '@acorex-platform/framework-shared/core';\nimport {\n AXMIntegrationConnectionManager,\n AXP_INTEGRATION_CREDENTIAL_MASK,\n hasConfiguredIntegrationCredentials,\n isMaskedIntegrationCredential,\n toSafeIntegrationConnectionDto,\n type ConnectCommandResult,\n} from '@acorex-platform/module-integration-management-client';\nimport {\n AXPLayoutBuilderService,\n resolveLayoutBuilderDialogResult,\n type AXPDialogRef,\n type IActionBuilder,\n type IDialogBuilder,\n type IFlexContainerBuilder,\n} from '@acorex-platform/framework-client/layout/builder';\nimport { Injectable, inject } from '@angular/core';\nimport { trim } from 'lodash-es';\nimport { RootConfig } from '@acorex-platform/extension-weather-openweathermap-client/contracts';\n\nexport interface ConnectOpenWeatherMapCommandInput {\n providerId?: string;\n connectionScope?: AXPIntegrationConnectionScope;\n}\n\ninterface OpenWeatherMapConnectFormResult {\n apiKey: string;\n}\n\n//#region ----- Connect OpenWeatherMap -----\n\n@Injectable({ providedIn: 'root' })\nexport class ConnectOpenWeatherMapCommand implements AXPCommand<ConnectOpenWeatherMapCommandInput, ConnectCommandResult> {\n private readonly layoutBuilder = inject(AXPLayoutBuilderService);\n private readonly connectionManager = inject(AXMIntegrationConnectionManager);\n\n async execute(input: ConnectOpenWeatherMapCommandInput = {}): AXPCommandExecuteResultPromise<ConnectCommandResult> {\n try {\n const providerId = input.providerId ?? RootConfig.integration.providerId;\n const connectionScope = input.connectionScope ?? 'tenant';\n const I18N = `@${RootConfig.config.i18n}:integration.connect`;\n const existing = await this.connectionManager.findByUniqueKey({\n providerId,\n connectionScope,\n connectionKey: 'default',\n });\n const isReconfigure = hasConfiguredIntegrationCredentials(existing);\n\n const form = await this.openConnectDialog({\n i18nPrefix: I18N,\n isReconfigure,\n apiKey: isReconfigure ? AXP_INTEGRATION_CREDENTIAL_MASK : '',\n });\n\n if (!form) {\n return { success: true, kind: 'object', data: { outcome: 'cancelled' } };\n }\n\n let apiKey = trim(form.apiKey);\n if (isMaskedIntegrationCredential(apiKey) && existing) {\n const config = (existing.config ?? {}) as { apiKey?: string };\n apiKey = trim(config.apiKey ?? '');\n }\n if (!apiKey) {\n return {\n success: false,\n message: { text: `${I18N}.pat-dialog.messages.api-key-required` },\n };\n }\n\n const connection = await this.connectionManager.upsertConnection({\n providerId,\n authMethodType: AXP_INTEGRATION_AUTH_METHOD_TYPE.Pat,\n connectionScope,\n connectionKey: 'default',\n displayName: existing?.displayName ?? 'OpenWeatherMap',\n instanceUrl: existing?.instanceUrl ?? null,\n externalAccountName: AXP_INTEGRATION_CREDENTIAL_MASK,\n config: { apiKey },\n status: AXP_INTEGRATION_CONNECTION_STATUS.Connected,\n isRevoked: false,\n isDisabled: false,\n });\n\n return { success: true, kind: 'object',\n data: { outcome: 'connected', connection: toSafeIntegrationConnectionDto(connection) },\n };\n } catch (error: unknown) {\n const message = error instanceof Error ? error.message : 'Failed to connect OpenWeatherMap.';\n return { success: false, message: { text: message } };\n }\n }\n\n private async openConnectDialog(input: {\n i18nPrefix: string;\n isReconfigure: boolean;\n apiKey: string;\n }): Promise<OpenWeatherMapConnectFormResult | null> {\n const result = await this.layoutBuilder\n .create()\n .dialog<OpenWeatherMapConnectFormResult | null>((dialog: IDialogBuilder<OpenWeatherMapConnectFormResult | null>) => {\n dialog\n .setTitle(\n input.isReconfigure\n ? `${input.i18nPrefix}.pat-dialog.configure-title`\n : `${input.i18nPrefix}.pat-dialog.title`,\n )\n .setSize('md')\n .setCloseButton(true)\n .setContext({ apiKey: input.apiKey })\n .content((flex: IFlexContainerBuilder) => {\n flex\n .setDirection('column')\n .setGap('12px')\n .customWidget('text-block-layout', {\n content: `${input.i18nPrefix}.pat-dialog.instructions`,\n })\n .formField(`${input.i18nPrefix}.pat-dialog.fields.api-key`, (field) => {\n field.path('apiKey');\n field.passwordBox({\n placeholder: `${input.i18nPrefix}.pat-dialog.placeholders.api-key`,\n revealToggle: true,\n validations: [{ rule: 'required' }],\n });\n });\n })\n .setActions((actions: IActionBuilder) => {\n actions\n .cancel('@general:actions.cancel.title')\n .submit(`${input.i18nPrefix}.pat-dialog.actions.save`);\n })\n .onAction(async (ref: AXPDialogRef) => {\n if (ref.action() === 'cancel') {\n return null;\n }\n const ctx = ref.context() as { apiKey?: string };\n const apiKey = trim(ctx.apiKey ?? '');\n if (!apiKey) {\n throw new Error(`${input.i18nPrefix}.pat-dialog.messages.api-key-required`);\n }\n return { apiKey };\n });\n })\n .show();\n\n return resolveLayoutBuilderDialogResult<OpenWeatherMapConnectFormResult>(result);\n }\n}\n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AO,IAAI;gBACb;AACA,gBAAA,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,EAAyB;gBAChD,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC;gBACrC,IAAI,CAAC,MAAM,EAAE;oBACX,MAAM,IAAI,KAAK,CAAC,CAAA,EAAG,KAAK,CAAC,UAAU,CAAA,qCAAA,CAAuC,CAAC;gBAC7E;gBACA,OAAO,EAAE,MAAM,EAAE;AACnB,YAAA,CAAC,CAAC;AACN,QAAA,CAAC;AACA,aAAA,IAAI,EAAE;AAET,QAAA,OAAO,gCAAgC,CAAkC,MAAM,CAAC;IAClF;8GAlHW,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA5B,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,4BAA4B,cADf,MAAM,EAAA,CAAA,CAAA;;2FACnB,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADxC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;"}
@@ -129,7 +129,7 @@ class AXEOpenWeatherMapExtensionModule {
129
129
  provideCommandSetups([
130
130
  {
131
131
  key: AXEOpenWeatherMapCommandKeys.ConnectionConnect,
132
- command: () => import('./acorex-platform-extension-weather-openweathermap-client-connect-openweathermap.command-V6yqCW6m.mjs').then((c) => c.ConnectOpenWeatherMapCommand),
132
+ command: () => import('./acorex-platform-extension-weather-openweathermap-client-connect-openweathermap.command-C_yzuis8.mjs').then((c) => c.ConnectOpenWeatherMapCommand),
133
133
  },
134
134
  ]),
135
135
  ], imports: [AXMIntegrationManagementModule] }); }
@@ -145,7 +145,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
145
145
  provideCommandSetups([
146
146
  {
147
147
  key: AXEOpenWeatherMapCommandKeys.ConnectionConnect,
148
- command: () => import('./acorex-platform-extension-weather-openweathermap-client-connect-openweathermap.command-V6yqCW6m.mjs').then((c) => c.ConnectOpenWeatherMapCommand),
148
+ command: () => import('./acorex-platform-extension-weather-openweathermap-client-connect-openweathermap.command-C_yzuis8.mjs').then((c) => c.ConnectOpenWeatherMapCommand),
149
149
  },
150
150
  ]),
151
151
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex-platform/extension-weather-openweathermap-client",
3
- "version": "1.0.2",
3
+ "version": "2.0.0-beta.1",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0 || ^22.0.0",