@omnia/fx 7.9.25-preview → 7.9.26-preview
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.
@@ -1,4 +1,4 @@
|
|
1
|
-
import { FirstDayOfWeeks, GuidValue, IIcon, TenantRegionalSettings, TimePeriodSettings } from "../../models";
|
1
|
+
import { DateOperator, FirstDayOfWeeks, GuidValue, IIcon, TenantRegionalSettings, TimePeriodSettings } from "../../models";
|
2
2
|
export declare module Utils {
|
3
3
|
function isNativeClass(value: any): boolean;
|
4
4
|
function isJson(str: any): boolean;
|
@@ -96,6 +96,7 @@ export declare module Utils {
|
|
96
96
|
function trimEnd(str: string, chr: string): string;
|
97
97
|
function after(timePeriodSettings: TimePeriodSettings, date?: Date): Date;
|
98
98
|
function before(timePeriodSettings: TimePeriodSettings, date?: Date): Date;
|
99
|
+
function calculate(timePeriodSettings: TimePeriodSettings, date?: Date, operator?: DateOperator): Date;
|
99
100
|
function getScrollParent(node: any): any;
|
100
101
|
function throttle(func: any, wait: any, options: any): () => any;
|
101
102
|
/**
|
@@ -20,15 +20,16 @@ export interface ILanguagePicker {
|
|
20
20
|
/**Make it clearable*/
|
21
21
|
clearable?: boolean;
|
22
22
|
/**Language model */
|
23
|
-
valueBind: Language;
|
23
|
+
valueBind: Language | Language[];
|
24
24
|
/**On model change */
|
25
|
-
onValueChanged?: (language: Language) => void;
|
25
|
+
onValueChanged?: (language: Language | Language[]) => void;
|
26
26
|
/**Scoped slots */
|
27
27
|
scopedSlots?: ScopedSlots<IVSelectScopedSlots>;
|
28
28
|
/**Custom styles by StyleFlow */
|
29
29
|
styles?: typeof LanguagePickerStyles;
|
30
30
|
/**On load language */
|
31
31
|
loadLanguage?: () => Promise<Array<Language>>;
|
32
|
+
multiple?: boolean;
|
32
33
|
}
|
33
34
|
declare global {
|
34
35
|
namespace VueTsxSupport.JSX {
|
@@ -5,10 +5,10 @@ import { Language } from "../../models";
|
|
5
5
|
import { ScopedSlots, LanguagePickerStyles } from "..";
|
6
6
|
import { IVSelectScopedSlots } from "../vuetify";
|
7
7
|
export declare class LanguagePicker extends Vue implements IWebComponentInstance, ILanguagePicker {
|
8
|
-
valueBind: Language;
|
8
|
+
valueBind: Language | Language[];
|
9
9
|
disabled?: boolean;
|
10
10
|
label?: string;
|
11
|
-
onValueChanged?: (language: Language) => void;
|
11
|
+
onValueChanged?: (language: Language | Language[]) => void;
|
12
12
|
filled?: boolean;
|
13
13
|
hideDetails?: boolean;
|
14
14
|
dark?: boolean;
|
@@ -18,6 +18,7 @@ export declare class LanguagePicker extends Vue implements IWebComponentInstance
|
|
18
18
|
enableContextSettings?: boolean;
|
19
19
|
loadLanguage?: () => Promise<Array<Language>>;
|
20
20
|
clearable?: boolean;
|
21
|
+
multiple?: boolean;
|
21
22
|
scopedSlots?: ScopedSlots<IVSelectScopedSlots>;
|
22
23
|
styles?: typeof LanguagePickerStyles;
|
23
24
|
private localizationService;
|
@@ -34,10 +35,13 @@ export declare class LanguagePicker extends Vue implements IWebComponentInstance
|
|
34
35
|
created(): void;
|
35
36
|
mounted(): void;
|
36
37
|
beforeDestroy(): void;
|
38
|
+
get getValues(): Language[];
|
37
39
|
private setLanguages;
|
38
40
|
private loadLanguageFromCustomHandler;
|
39
41
|
private loadAllLanguages;
|
42
|
+
private normalizeLanguageValue;
|
40
43
|
private populateModel;
|
44
|
+
private findLanguages;
|
41
45
|
private updateSelectedLanguage;
|
42
46
|
render(): VueTsxSupport.JSX.Element;
|
43
47
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "7.9.
|
4
|
+
"version": "7.9.26-preview",
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
6
6
|
"scripts": {
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
@@ -20,7 +20,7 @@
|
|
20
20
|
],
|
21
21
|
"author": "Omnia Digital Workplace AB",
|
22
22
|
"dependencies": {
|
23
|
-
"@omnia/fx-models": "7.9.
|
23
|
+
"@omnia/fx-models": "7.9.26-preview",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.10.7",
|