@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.
- package/dist/{AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-2d42rKPf.mjs → AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CjOiytrn.mjs} +778 -774
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-CjOiytrn.mjs.map +1 -0
- package/dist/common-admin.d.ts +26 -1
- package/dist/common-admin.js +918 -916
- package/dist/common-admin.js.map +1 -1
- package/dist/labs.js +2 -2
- package/package.json +3 -3
- package/dist/AFormRemoteAutocomplete.vue_vue_type_script_setup_true_lang-2d42rKPf.mjs.map +0 -1
package/dist/common-admin.d.ts
CHANGED
|
@@ -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";
|