@libs-ui/components-inputs-multi-language 0.2.10-6.2
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/README.md +3 -0
- package/esm2022/index.mjs +4 -0
- package/esm2022/interfaces/multi-language.interface.mjs +2 -0
- package/esm2022/items/items.component.mjs +152 -0
- package/esm2022/libs-ui-components-inputs-multi-language.mjs +5 -0
- package/esm2022/multi-language.component.mjs +364 -0
- package/esm2022/pipes/display-language.pipe.mjs +25 -0
- package/esm2022/pipes/get-disable-key.pipe.mjs +17 -0
- package/esm2022/pipes/get-item.pipe.mjs +18 -0
- package/esm2022/utils/multi-language.mjs +129 -0
- package/fesm2022/libs-ui-components-inputs-multi-language.mjs +689 -0
- package/fesm2022/libs-ui-components-inputs-multi-language.mjs.map +1 -0
- package/index.d.ts +3 -0
- package/interfaces/multi-language.interface.d.ts +51 -0
- package/items/items.component.d.ts +41 -0
- package/multi-language.component.d.ts +68 -0
- package/package.json +25 -0
- package/pipes/display-language.pipe.d.ts +8 -0
- package/pipes/get-disable-key.pipe.d.ts +7 -0
- package/pipes/get-item.pipe.d.ts +8 -0
- package/utils/multi-language.d.ts +24 -0
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@libs-ui/components-inputs-multi-language",
|
|
3
|
+
"version": "0.2.106.2",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^18.2.0",
|
|
6
|
+
"@angular/core": "^18.2.0"
|
|
7
|
+
},
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"module": "fesm2022/libs-ui-components-inputs-multi-language.mjs",
|
|
10
|
+
"typings": "index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
"./package.json": {
|
|
13
|
+
"default": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./index.d.ts",
|
|
17
|
+
"esm2022": "./esm2022/libs-ui-components-inputs-multi-language.mjs",
|
|
18
|
+
"esm": "./esm2022/libs-ui-components-inputs-multi-language.mjs",
|
|
19
|
+
"default": "./fesm2022/libs-ui-components-inputs-multi-language.mjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"tslib": "^2.3.0"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { IOption } from '../interfaces/multi-language.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LibsUiComponentsInputsMultiLanguageDisplayLanguagePipe implements PipeTransform {
|
|
5
|
+
transform(keyLang: string, listLanguage: Array<IOption>): string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiComponentsInputsMultiLanguageDisplayLanguagePipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LibsUiComponentsInputsMultiLanguageDisplayLanguagePipe, "LibsUiComponentsInputsMultiLanguageDisplayLanguagePipe", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LibsUiComponentsInputsMultiLanguageGetDisableKeyPipe implements PipeTransform {
|
|
4
|
+
transform(langs: Array<string>, key: string): Array<string>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiComponentsInputsMultiLanguageGetDisableKeyPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LibsUiComponentsInputsMultiLanguageGetDisableKeyPipe, "LibsUiComponentsInputsMultiLanguageGetDisableKeyPipe", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ModelSignal, PipeTransform, WritableSignal } from '@angular/core';
|
|
2
|
+
import { IDataMultiLanguage } from '../interfaces/multi-language.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LibsUiComponentsInputsMultiLanguageGetItemPipe implements PipeTransform {
|
|
5
|
+
transform(keyBindData: string | undefined, dataLanguageChange: WritableSignal<IDataMultiLanguage> | IDataMultiLanguage): ModelSignal<IDataMultiLanguage>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LibsUiComponentsInputsMultiLanguageGetItemPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LibsUiComponentsInputsMultiLanguageGetItemPipe, "LibsUiComponentsInputsMultiLanguageGetItemPipe", true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { IValidRequired } from "@libs-ui/components-inputs-valid";
|
|
2
|
+
import { IListConfigItem } from "@libs-ui/components-list";
|
|
3
|
+
import { IHttpRequestConfig } from "@libs-ui/services-http-request";
|
|
4
|
+
import { IOption } from "../interfaces/multi-language.interface";
|
|
5
|
+
export declare const currenciesSupport: () => any;
|
|
6
|
+
export declare const languageSupport: () => any;
|
|
7
|
+
export declare const currenciesOptions: (objectPattern?: {
|
|
8
|
+
key: string;
|
|
9
|
+
label: string;
|
|
10
|
+
}) => Array<IOption>;
|
|
11
|
+
export declare const langOptions: (objectPattern?: {
|
|
12
|
+
key: string;
|
|
13
|
+
label: string;
|
|
14
|
+
}) => Array<IOption>;
|
|
15
|
+
export declare const convertObjectOfArray: (objectPattern: unknown, data: Array<unknown>) => unknown[];
|
|
16
|
+
export declare const httpRequestDetail: (options: Array<{
|
|
17
|
+
label: string;
|
|
18
|
+
key: string;
|
|
19
|
+
}>) => IHttpRequestConfig;
|
|
20
|
+
export declare const listConfigItem: (options: Array<{
|
|
21
|
+
label: string;
|
|
22
|
+
key: string;
|
|
23
|
+
}>) => IListConfigItem;
|
|
24
|
+
export declare const validRequired: () => IValidRequired;
|