@anzusystems/common-admin 1.47.0-beta.350 → 1.47.0-beta.351

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.
@@ -18139,7 +18139,7 @@ declare interface Metadata_2 {
18139
18139
  customData: any;
18140
18140
  }
18141
18141
 
18142
- export declare function modifyLanguageSettings(configAvailableLanguages: LanguageCode[], configDefaultLanguage: LanguageCode): {
18142
+ export declare function modifyLanguageSettings(configAvailableLanguages: LanguageCode[], configDefaultLanguage: LanguageCode, i18nInstance?: any): {
18143
18143
  addMessages: (language: LanguageCode, messages: any) => void;
18144
18144
  initializeLanguage: () => void;
18145
18145
  currentLanguageCode: Readonly<Ref<"default" | LanguageCode, "default" | LanguageCode>>;
@@ -18296,6 +18296,31 @@ declare interface SentryContext {
18296
18296
  [key: string]: any;
18297
18297
  }
18298
18298
 
18299
+ /**
18300
+ * Custom Slovak Pluralization Rule.
18301
+ *
18302
+ * Automatically detects the format of the translation string based on the number
18303
+ * of pipe-separated choices (`choicesLength`) and returns the correct index.
18304
+ *
18305
+ * Case A: 4 choices (Extended format with explicit 0 support)
18306
+ * Structure: "0 items | 1 item | 2-4 items | 5+ items"
18307
+ * - 0 -> Index 0
18308
+ * - 1 -> Index 1
18309
+ * - 2-4 -> Index 2
18310
+ * - 5+ -> Index 3
18311
+ *
18312
+ * Case B: 3 choices (Starndard Slovak format)
18313
+ * Structure: "1 item | 2-4 items | 5+ items"
18314
+ * - 1 -> Index 0
18315
+ * - 2-4 -> Index 1
18316
+ * - 5+ -> Index 2 (Includes 0)
18317
+ *
18318
+ * Case C: 2 choices or fewer (Fallback)
18319
+ * - 1 -> Index 0
18320
+ * - Other-> Index 1
18321
+ */
18322
+ export declare const slovakPluralizationRule: (choice: number, choicesLength: number) => 0 | 1 | 2 | 3;
18323
+
18299
18324
  export declare const SORT_BY_ID = "id";
18300
18325
 
18301
18326
  export declare const SORT_BY_SCORE = "_score";