@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.js CHANGED
@@ -1884,6 +1884,19 @@ AppUtilityProxy = __decorateClass([
1884
1884
  ProxyClass()
1885
1885
  ], AppUtilityProxy);
1886
1886
 
1887
+ // src/utility/index.ts
1888
+ var utility_exports = {};
1889
+ __export(utility_exports, {
1890
+ AlphabeticProxy: () => AlphabeticProxy,
1891
+ AlphanumericProxy: () => AlphanumericProxy,
1892
+ CharacterSetCreatorProxy: () => CharacterSetCreatorProxy,
1893
+ CharacterSetValidatorProxy: () => CharacterSetValidatorProxy,
1894
+ HexadecimalProxy: () => HexadecimalProxy,
1895
+ NumericProxy: () => NumericProxy,
1896
+ RegExpProxy: () => RegExpProxy,
1897
+ TransformerProxy: () => TransformerProxy
1898
+ });
1899
+
1887
1900
  // src/utility/transformer-proxy.ts
1888
1901
  import { mapIterable as mapIterable2, Sequence, Transformer } from "@aidc-toolkit/utility";
1889
1902
 
@@ -3192,6 +3205,9 @@ GMNCreatorProxy = __decorateClass([
3192
3205
 
3193
3206
  // src/generator/generator.ts
3194
3207
  import { I18nEnvironments } from "@aidc-toolkit/core";
3208
+ function registerProxies(..._proxies) {
3209
+ }
3210
+ registerProxies(AppUtilityProxy, utility_exports, gs1_exports);
3195
3211
  var Generator = class _Generator {
3196
3212
  /**
3197
3213
  * Documentation base URL.
@@ -3257,7 +3273,7 @@ var Generator = class _Generator {
3257
3273
  getFunctionLocalization(namespaceFunctionName, locale) {
3258
3274
  const functionLocalization = this._functionLocalizationsMapsMap.get(namespaceFunctionName)?.get(locale);
3259
3275
  if (functionLocalization === void 0) {
3260
- throw new Error(`Localization for function "${namespaceFunctionName}", locale "${locale}" not found`);
3276
+ throw new Error(`${locale} localization for function ${namespaceFunctionName} not found`);
3261
3277
  }
3262
3278
  return functionLocalization;
3263
3279
  }
@@ -3279,7 +3295,7 @@ var Generator = class _Generator {
3279
3295
  getParameterLocalization(namespaceFunctionName, parameterName, locale) {
3280
3296
  const parameterLocalization = this._parameterLocalizationsMapsMap.get(`${namespaceFunctionName}.${parameterName}`)?.get(locale);
3281
3297
  if (parameterLocalization === void 0) {
3282
- throw new Error(`Localization for function "${namespaceFunctionName}", parameter "${parameterName}", locale "${locale}" not found`);
3298
+ throw new Error(`${locale} localization for function ${namespaceFunctionName} parameter ${parameterName} not found`);
3283
3299
  }
3284
3300
  return parameterLocalization;
3285
3301
  }
@@ -3345,7 +3361,7 @@ var Generator = class _Generator {
3345
3361
  } else {
3346
3362
  const insertIndex = methodName.indexOf(infixBefore);
3347
3363
  if (insertIndex === -1) {
3348
- throw new Error(`Cannot find "${infixBefore}" in method name ${methodName}`);
3364
+ throw new Error(`Cannot find "${infixBefore}" in method ${methodName}`);
3349
3365
  }
3350
3366
  functionName = `${methodName.substring(0, insertIndex)}${methodInfix}${methodName.substring(insertIndex)}`;
3351
3367
  }