@aidc-toolkit/app-extension 1.0.25-beta → 1.0.26-beta

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/dist/index.cjs CHANGED
@@ -1935,6 +1935,19 @@ AppUtilityProxy = __decorateClass([
1935
1935
  ProxyClass()
1936
1936
  ], AppUtilityProxy);
1937
1937
 
1938
+ // src/utility/index.ts
1939
+ var utility_exports = {};
1940
+ __export(utility_exports, {
1941
+ AlphabeticProxy: () => AlphabeticProxy,
1942
+ AlphanumericProxy: () => AlphanumericProxy,
1943
+ CharacterSetCreatorProxy: () => CharacterSetCreatorProxy,
1944
+ CharacterSetValidatorProxy: () => CharacterSetValidatorProxy,
1945
+ HexadecimalProxy: () => HexadecimalProxy,
1946
+ NumericProxy: () => NumericProxy,
1947
+ RegExpProxy: () => RegExpProxy,
1948
+ TransformerProxy: () => TransformerProxy
1949
+ });
1950
+
1938
1951
  // src/utility/transformer-proxy.ts
1939
1952
  var import_utility3 = require("@aidc-toolkit/utility");
1940
1953
 
@@ -3222,6 +3235,9 @@ GMNCreatorProxy = __decorateClass([
3222
3235
 
3223
3236
  // src/generator/generator.ts
3224
3237
  var import_core4 = require("@aidc-toolkit/core");
3238
+ function registerProxies(..._proxies) {
3239
+ }
3240
+ registerProxies(AppUtilityProxy, utility_exports, gs1_exports);
3225
3241
  var Generator = class _Generator {
3226
3242
  /**
3227
3243
  * Documentation base URL.
@@ -3287,7 +3303,7 @@ var Generator = class _Generator {
3287
3303
  getFunctionLocalization(namespaceFunctionName, locale) {
3288
3304
  const functionLocalization = this._functionLocalizationsMapsMap.get(namespaceFunctionName)?.get(locale);
3289
3305
  if (functionLocalization === void 0) {
3290
- throw new Error(`Localization for function "${namespaceFunctionName}", locale "${locale}" not found`);
3306
+ throw new Error(`${locale} localization for function ${namespaceFunctionName} not found`);
3291
3307
  }
3292
3308
  return functionLocalization;
3293
3309
  }
@@ -3309,7 +3325,7 @@ var Generator = class _Generator {
3309
3325
  getParameterLocalization(namespaceFunctionName, parameterName, locale) {
3310
3326
  const parameterLocalization = this._parameterLocalizationsMapsMap.get(`${namespaceFunctionName}.${parameterName}`)?.get(locale);
3311
3327
  if (parameterLocalization === void 0) {
3312
- throw new Error(`Localization for function "${namespaceFunctionName}", parameter "${parameterName}", locale "${locale}" not found`);
3328
+ throw new Error(`${locale} localization for function ${namespaceFunctionName} parameter ${parameterName} not found`);
3313
3329
  }
3314
3330
  return parameterLocalization;
3315
3331
  }
@@ -3375,7 +3391,7 @@ var Generator = class _Generator {
3375
3391
  } else {
3376
3392
  const insertIndex = methodName.indexOf(infixBefore);
3377
3393
  if (insertIndex === -1) {
3378
- throw new Error(`Cannot find "${infixBefore}" in method name ${methodName}`);
3394
+ throw new Error(`Cannot find "${infixBefore}" in method ${methodName}`);
3379
3395
  }
3380
3396
  functionName = `${methodName.substring(0, insertIndex)}${methodInfix}${methodName.substring(insertIndex)}`;
3381
3397
  }