@sarafapp/ant-design 1.0.12 → 1.0.15
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.d.ts +11 -701
- package/dist/src/Constants.d.ts +5 -0
- package/dist/src/baseForm/SarafFiledInvalidMessage.vue.d.ts +6 -0
- package/dist/src/baseForm/SarafNumberFiled.vue.d.ts +33 -0
- package/dist/src/baseForm/SarafPasswordFiled.vue.d.ts +21 -0
- package/dist/src/baseForm/SarafSearchFiled.vue.d.ts +20 -0
- package/dist/src/baseForm/SarafSelect.vue.d.ts +39 -0
- package/dist/src/baseForm/SarafTextFiled.vue.d.ts +31 -0
- package/dist/src/baseForm/index.d.ts +8 -0
- package/dist/src/baseForm/model/Constants.d.ts +22 -0
- package/dist/src/baseForm/model/Model.d.ts +5 -0
- package/dist/src/baseTable/SarafBankCardTableCell.vue.d.ts +5 -0
- package/dist/src/baseTable/SarafDynamicCurrencyPriceTableCell.vue.d.ts +6 -0
- package/dist/src/baseTable/SarafIbanTableCell.vue.d.ts +5 -0
- package/dist/src/baseTable/SarafPriceTableCell.vue.d.ts +5 -0
- package/dist/src/baseTable/SarafSymbolTableCell.vue.d.ts +6 -0
- package/dist/src/baseTable/SarafTable.vue.d.ts +20 -0
- package/dist/src/baseTable/SarafTableGenerator.vue.d.ts +22 -0
- package/dist/src/baseTable/SarafTradeAmountTableCell.vue.d.ts +6 -0
- package/dist/src/baseTable/SarafTradeDateCell.vue.d.ts +6 -0
- package/dist/src/baseTable/SarafTradeSymbolCell.vue.d.ts +6 -0
- package/dist/src/baseTable/SarafTradeSymbolPriceCell.vue.d.ts +6 -0
- package/dist/src/baseTable/index.d.ts +11 -0
- package/dist/src/dataDisplay/chart/SarafChart.vue.d.ts +18 -0
- package/dist/src/dataDisplay/chart/model/AreaChartDataSource.d.ts +8 -0
- package/dist/src/dataDisplay/chart/model/CategoricalDataSource.d.ts +6 -0
- package/dist/src/dataDisplay/chart/model/ChartTypes.d.ts +26 -0
- package/dist/src/dataDisplay/chart/model/DataSource.d.ts +22 -0
- package/dist/src/dataDisplay/chart/model/DonutChartDataSource.d.ts +10 -0
- package/dist/src/dataDisplay/index.d.ts +10 -0
- package/dist/src/dataDisplay/tab/model/SarafTab.d.ts +6 -0
- package/dist/src/dataDisplay/tab/ui/SarafSecondaryTabs.vue.d.ts +17 -0
- package/dist/src/dataDisplay/tab/ui/SarafTabs.vue.d.ts +17 -0
- package/dist/src/dataDisplay/tag/SarafTag.vue.d.ts +29 -0
- package/dist/src/dataDisplay/tag/model/Constants.d.ts +7 -0
- package/dist/src/dataDisplay/tooltip/model/tooltipDirective.d.ts +11 -0
- package/dist/src/dataEntry/checkbox/SarafCheckbox.vue.d.ts +18 -0
- package/dist/src/dataEntry/index.d.ts +1 -0
- package/dist/src/datePicker/SarafDatePicker.vue.d.ts +31 -0
- package/dist/src/datePicker/SarafRangePicker.vue.d.ts +29 -0
- package/dist/src/datePicker/index.d.ts +2 -0
- package/dist/src/general/button/SarafButton.vue.d.ts +40 -0
- package/dist/src/general/button/model/Constants.d.ts +9 -0
- package/dist/src/general/index.d.ts +2 -0
- package/dist/src/icons/ArrowDownIcon.vue.d.ts +9 -0
- package/dist/src/icons/ArrowUpIcon.vue.d.ts +9 -0
- package/dist/src/icons/BurgerIcon.vue.d.ts +6 -0
- package/dist/src/icons/GiftCardIcon.vue.d.ts +2 -0
- package/dist/src/icons/PlusIcon.vue.d.ts +2 -0
- package/dist/src/icons/ResetIcon.vue.d.ts +2 -0
- package/dist/src/icons/SarafArrowIcon.vue.d.ts +2 -0
- package/dist/src/icons/SarafLogoIcon.vue.d.ts +2 -0
- package/dist/src/icons/SearchIcon.vue.d.ts +2 -0
- package/dist/src/icons/index.d.ts +9 -0
- package/dist/src/loaders/index.d.ts +2 -0
- package/dist/src/loaders/spinners/SarafDefaultSpinner.vue.d.ts +8 -0
- package/dist/src/loaders/spinners/model/Constants.d.ts +5 -0
- package/dist/src/loaders/spinners/model/SarafDefaultSpinner.d.ts +4 -0
- package/dist/src/localProvider/ApplicationLocalProvider.vue.d.ts +17 -0
- package/dist/src/localProvider/index.d.ts +1 -0
- package/dist/src/types/Global.d.ts +1 -0
- package/dist/src/types/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
invalidMessage: string;
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { InputControl } from '@sarafapp/iron_core';
|
|
2
|
+
import { InputSizes, SarafInputTypes } from './model/Constants';
|
|
3
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
6
|
+
readonly onButtonClick?: (() => any) | undefined;
|
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onButtonClick"> & ({
|
|
8
|
+
modelValue?: T;
|
|
9
|
+
} & {
|
|
10
|
+
inputControl: InputControl<string>;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
size?: InputSizes;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
isClearable?: boolean;
|
|
15
|
+
type?: SarafInputTypes;
|
|
16
|
+
max?: number;
|
|
17
|
+
min?: number;
|
|
18
|
+
}) & Partial<{}>> & import('vue').PublicProps;
|
|
19
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
20
|
+
attrs: any;
|
|
21
|
+
slots: {
|
|
22
|
+
prefix?(_: {}): any;
|
|
23
|
+
suffix?(_: {}): any;
|
|
24
|
+
button?(_: {}): any;
|
|
25
|
+
};
|
|
26
|
+
emit: ((event: "buttonClick") => void) & ((evt: "update:modelValue", value: T) => void);
|
|
27
|
+
}>) => import('vue').VNode & {
|
|
28
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_PrettifyLocal<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InputSizes } from './model/Constants';
|
|
2
|
+
import { InputControl } from '@sarafapp/iron_core';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
inputControl: InputControl<string>;
|
|
5
|
+
size?: InputSizes;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
isClearable?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
modelValue?: string;
|
|
11
|
+
} & __VLS_Props;
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: string) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
size: InputSizes;
|
|
19
|
+
isClearable: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InputSizes } from './model/Constants';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
debounceTime?: number;
|
|
4
|
+
size?: InputSizes;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
} & {
|
|
12
|
+
search: (searchedValue: string) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
onSearch?: ((searchedValue: string) => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
size: InputSizes;
|
|
18
|
+
debounceTime: number;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { InputControl } from '@sarafapp/iron_core';
|
|
2
|
+
import { SelectItem } from './model/Model';
|
|
3
|
+
import { InputSizes } from './model/Constants';
|
|
4
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
+
readonly onSearch?: ((searchedValue: string) => any) | undefined;
|
|
7
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
8
|
+
readonly onFetchMore?: (() => any) | undefined;
|
|
9
|
+
readonly onSearchStart?: ((searchedValue: string) => any) | undefined;
|
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onSearch" | "onFetchMore" | "onSearchStart"> & ({
|
|
11
|
+
modelValue?: T;
|
|
12
|
+
} & {
|
|
13
|
+
inputControl: InputControl<T>;
|
|
14
|
+
totalCount: number;
|
|
15
|
+
items: SelectItem[];
|
|
16
|
+
isMultiple?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
initialItems?: SelectItem[];
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
size?: InputSizes;
|
|
21
|
+
isSearchable?: boolean;
|
|
22
|
+
isLoading?: boolean;
|
|
23
|
+
isClearable?: boolean;
|
|
24
|
+
}) & Partial<{}>> & import('vue').PublicProps;
|
|
25
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
26
|
+
attrs: any;
|
|
27
|
+
slots: {};
|
|
28
|
+
emit: {
|
|
29
|
+
(event: "fetchMore"): void;
|
|
30
|
+
(event: "searchStart", searchedValue: string): void;
|
|
31
|
+
(event: "search", searchedValue: string): void;
|
|
32
|
+
} & ((evt: "update:modelValue", value: T) => void);
|
|
33
|
+
}>) => import('vue').VNode & {
|
|
34
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_PrettifyLocal<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { InputControl } from '@sarafapp/iron_core';
|
|
2
|
+
import { InputSizes, SarafInputTypes } from './model/Constants';
|
|
3
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
6
|
+
readonly onButtonClick?: (() => any) | undefined;
|
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue" | "onButtonClick"> & ({
|
|
8
|
+
modelValue?: T;
|
|
9
|
+
} & {
|
|
10
|
+
inputControl: InputControl<string>;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
size?: InputSizes;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
isClearable?: boolean;
|
|
15
|
+
type?: SarafInputTypes;
|
|
16
|
+
}) & Partial<{}>> & import('vue').PublicProps;
|
|
17
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
18
|
+
attrs: any;
|
|
19
|
+
slots: {
|
|
20
|
+
prefix?(_: {}): any;
|
|
21
|
+
suffix?(_: {}): any;
|
|
22
|
+
button?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
emit: ((event: "buttonClick") => void) & ((evt: "update:modelValue", value: T) => void);
|
|
25
|
+
}>) => import('vue').VNode & {
|
|
26
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_PrettifyLocal<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { InputStatus, InputSizes, BasicInputNames, SarafSelectMode, SarafInputTypes, } from './model/Constants';
|
|
2
|
+
export { SelectItem } from './model/Model';
|
|
3
|
+
export { default as SarafSearchFiled } from './SarafSearchFiled.vue';
|
|
4
|
+
export { default as SarafTextFiled } from './SarafTextFiled.vue';
|
|
5
|
+
export { default as SarafPasswordFiled } from './SarafPasswordFiled.vue';
|
|
6
|
+
export { default as SarafNumberFiled } from './SarafNumberFiled.vue';
|
|
7
|
+
export { default as SarafSelect } from './SarafSelect.vue';
|
|
8
|
+
export { default as SarafFiledInvalidMessage } from './SarafFiledInvalidMessage.vue';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const enum InputStatus {
|
|
2
|
+
Error = "error",
|
|
3
|
+
Warning = "warning",
|
|
4
|
+
Default = "default"
|
|
5
|
+
}
|
|
6
|
+
export declare const enum InputSizes {
|
|
7
|
+
Small = "small",
|
|
8
|
+
Medium = "medium",
|
|
9
|
+
Large = "large"
|
|
10
|
+
}
|
|
11
|
+
export declare const enum BasicInputNames {
|
|
12
|
+
Search = "search"
|
|
13
|
+
}
|
|
14
|
+
export declare const enum SarafSelectMode {
|
|
15
|
+
Multi = "multiple",
|
|
16
|
+
Single = "single"
|
|
17
|
+
}
|
|
18
|
+
export declare const enum SarafInputTypes {
|
|
19
|
+
Text = "text",
|
|
20
|
+
Password = "password",
|
|
21
|
+
Number = "Number"
|
|
22
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
cardNumber: number | string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Amount } from '@sarafapp/iron_core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
amount: Amount;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
iban: number | string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
price: number;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MinifiedSymbolModel } from '@sarafapp/iron_core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
symbol: MinifiedSymbolModel;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseTable, BaseModel, SelectableTable } from '@sarafapp/iron_core';
|
|
2
|
+
declare const _default: <Model extends BaseModel>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
4
|
+
dataSource: BaseTable<Model> | SelectableTable<Model>;
|
|
5
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
6
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
7
|
+
attrs: any;
|
|
8
|
+
slots: {
|
|
9
|
+
expandedRowRender?(_: {
|
|
10
|
+
row: Model;
|
|
11
|
+
}): any;
|
|
12
|
+
};
|
|
13
|
+
emit: {};
|
|
14
|
+
}>) => import('vue').VNode & {
|
|
15
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_PrettifyLocal<T> = {
|
|
19
|
+
[K in keyof T]: T[K];
|
|
20
|
+
} & {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SelectableTableGenerator, TableConfig, TableGenerator } from '@sarafapp/iron_core';
|
|
2
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
4
|
+
dataSource: TableGenerator<T> | SelectableTableGenerator<T>;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
tableConfig: TableConfig;
|
|
7
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
8
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {
|
|
11
|
+
expandedRowRender?(_: {
|
|
12
|
+
row: T;
|
|
13
|
+
}): any;
|
|
14
|
+
};
|
|
15
|
+
emit: {};
|
|
16
|
+
}>) => import('vue').VNode & {
|
|
17
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_PrettifyLocal<T> = {
|
|
21
|
+
[K in keyof T]: T[K];
|
|
22
|
+
} & {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TradeAmount } from '@sarafapp/iron_core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
symbolTradeAmountDetail: TradeAmount;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TradeDate } from '@sarafapp/iron_core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
tradeDate: TradeDate;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SymbolInTrade } from '@sarafapp/iron_core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
symbolInTrade: SymbolInTrade;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SymbolPriceInTrade } from '@sarafapp/iron_core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
symbolPriceInTrade: SymbolPriceInTrade;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as SarafTable } from './SarafTable.vue';
|
|
2
|
+
export { default as SarafBankCardTableCell } from './SarafBankCardTableCell.vue';
|
|
3
|
+
export { default as SarafIbanTableCell } from './SarafIbanTableCell.vue';
|
|
4
|
+
export { default as SarafSymbolTableCell } from './SarafSymbolTableCell.vue';
|
|
5
|
+
export { default as SarafTradeAmountTableCell } from './SarafTradeAmountTableCell.vue';
|
|
6
|
+
export { default as SarafTradeSymbolPriceCell } from './SarafTradeSymbolPriceCell.vue';
|
|
7
|
+
export { default as SarafTradeDateCell } from './SarafTradeDateCell.vue';
|
|
8
|
+
export { default as SarafPriceTableCell } from './SarafPriceTableCell.vue';
|
|
9
|
+
export { default as SarafTradeSymbolCell } from './SarafTradeSymbolCell.vue';
|
|
10
|
+
export { default as SarafDynamicCurrencyPriceTableCell } from './SarafDynamicCurrencyPriceTableCell.vue';
|
|
11
|
+
export { default as SarafTableGenerator } from './SarafTableGenerator.vue';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ChartDataSource } from './model/DataSource';
|
|
2
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
4
|
+
dataSource: ChartDataSource<T>;
|
|
5
|
+
width?: string;
|
|
6
|
+
height?: string;
|
|
7
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
8
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
9
|
+
attrs: any;
|
|
10
|
+
slots: {};
|
|
11
|
+
emit: {};
|
|
12
|
+
}>) => import('vue').VNode & {
|
|
13
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_PrettifyLocal<T> = {
|
|
17
|
+
[K in keyof T]: T[K];
|
|
18
|
+
} & {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CategoricalChartDataSource } from './CategoricalDataSource';
|
|
2
|
+
import { ChartSeries, ChartSettings } from './ChartTypes';
|
|
3
|
+
import { ApexOptions } from 'apexcharts';
|
|
4
|
+
export declare class AreaChartDataSource extends CategoricalChartDataSource<ChartSeries[]> {
|
|
5
|
+
constructor(settings: ChartSettings);
|
|
6
|
+
protected generateSeries(): ChartSeries[];
|
|
7
|
+
protected generateOptions(): ApexOptions;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ChartDataSource } from './DataSource';
|
|
2
|
+
import { RawChartDataPoint, ChartSettings, ChartType } from './ChartTypes';
|
|
3
|
+
export declare abstract class CategoricalChartDataSource<Series> extends ChartDataSource<Series> {
|
|
4
|
+
protected constructor(chartType: ChartType, settings: ChartSettings);
|
|
5
|
+
protected completeData(): RawChartDataPoint[][];
|
|
6
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Nullable } from '../../../types';
|
|
2
|
+
export declare enum ChartType {
|
|
3
|
+
LINE = "line",
|
|
4
|
+
AREA = "area",
|
|
5
|
+
BAR = "bar",
|
|
6
|
+
PIE = "pie",
|
|
7
|
+
DONUT = "donut"
|
|
8
|
+
}
|
|
9
|
+
export declare class RawChartDataPoint {
|
|
10
|
+
label: string;
|
|
11
|
+
value: Nullable<number>;
|
|
12
|
+
constructor(label: string, value: Nullable<number>);
|
|
13
|
+
}
|
|
14
|
+
export declare class ChartSettings {
|
|
15
|
+
title: string;
|
|
16
|
+
toolbar?: boolean;
|
|
17
|
+
sensitive?: boolean;
|
|
18
|
+
xAxisCategories?: string[];
|
|
19
|
+
seriesNames?: string[];
|
|
20
|
+
constructor(title: string, toolbar?: boolean, sensitive?: boolean, xAxisCategories?: string[], seriesNames?: string[]);
|
|
21
|
+
}
|
|
22
|
+
export declare class ChartSeries {
|
|
23
|
+
name: string;
|
|
24
|
+
data: Nullable<number>[];
|
|
25
|
+
constructor(name: string, data: Nullable<number>[]);
|
|
26
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { RawChartDataPoint, ChartType, ChartSettings } from './ChartTypes';
|
|
2
|
+
import { ApexOptions } from 'apexcharts';
|
|
3
|
+
import { Nullable } from '@sarafapp/iron_core';
|
|
4
|
+
export declare abstract class ChartDataSource<Series> {
|
|
5
|
+
protected rawData: RawChartDataPoint[][];
|
|
6
|
+
protected settings: ChartSettings;
|
|
7
|
+
protected options: Nullable<ApexOptions>;
|
|
8
|
+
protected series: Nullable<Series>;
|
|
9
|
+
private readonly chartType;
|
|
10
|
+
protected constructor(chartType: ChartType, settings: ChartSettings);
|
|
11
|
+
setRawData(data: RawChartDataPoint[][]): void;
|
|
12
|
+
private checkData;
|
|
13
|
+
private validateData;
|
|
14
|
+
protected isDataValid(): boolean;
|
|
15
|
+
protected abstract completeData(): RawChartDataPoint[][];
|
|
16
|
+
protected abstract generateSeries(): Series;
|
|
17
|
+
protected generateCommonOptions(): ApexOptions;
|
|
18
|
+
protected abstract generateOptions(): ApexOptions;
|
|
19
|
+
getSeries(): never[] | NonNullable<Series>;
|
|
20
|
+
getOptions(): Nullable<ApexOptions>;
|
|
21
|
+
getType(): ChartType;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChartDataSource } from './DataSource';
|
|
2
|
+
import { ChartSettings, RawChartDataPoint } from './ChartTypes';
|
|
3
|
+
import { ApexOptions } from 'apexcharts';
|
|
4
|
+
export declare class DonutChartDataSource extends ChartDataSource<number[]> {
|
|
5
|
+
constructor(settings: ChartSettings);
|
|
6
|
+
protected completeData(): RawChartDataPoint[][];
|
|
7
|
+
protected generateSeries(): number[];
|
|
8
|
+
protected generateOptions(): ApexOptions;
|
|
9
|
+
setTotalValue(label: string): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as SarafTag } from './tag/SarafTag.vue';
|
|
2
|
+
export { TagColors } from './tag/model/Constants';
|
|
3
|
+
export { default as SarafTabs } from './tab/ui/SarafTabs.vue';
|
|
4
|
+
export { default as SarafSecondaryTabs } from './tab/ui/SarafSecondaryTabs.vue';
|
|
5
|
+
export { SarafTab } from './tab/model/SarafTab';
|
|
6
|
+
export { default as SarafChart } from './chart/SarafChart.vue';
|
|
7
|
+
export { AreaChartDataSource } from './chart/model/AreaChartDataSource';
|
|
8
|
+
export { DonutChartDataSource } from './chart/model/DonutChartDataSource';
|
|
9
|
+
export { ChartType, RawChartDataPoint, ChartSettings, ChartSeries, } from './chart/model/ChartTypes';
|
|
10
|
+
export { TooltipDirective } from './tooltip/model/tooltipDirective';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentSize } from '../../../Constants';
|
|
2
|
+
import { SarafTab } from '../model/SarafTab';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
tabs: SarafTab[];
|
|
5
|
+
size?: ComponentSize;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
modelValue?: string | number;
|
|
9
|
+
} & __VLS_Props;
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: string | number) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
size: ComponentSize;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComponentSize } from '../../../Constants';
|
|
2
|
+
import { SarafTab } from '../model/SarafTab';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
tabs: SarafTab[];
|
|
5
|
+
size?: ComponentSize;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
modelValue?: string | number;
|
|
9
|
+
} & __VLS_Props;
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: string | number) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
size: ComponentSize;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TagColors } from './model/Constants';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
content: string;
|
|
4
|
+
color?: TagColors;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
hasBorder?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
'before-icon'?(_: {}): any;
|
|
12
|
+
'after-icon'?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
color: TagColors;
|
|
21
|
+
hasBorder: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DirectiveBinding } from 'vue';
|
|
2
|
+
import { MountedDirective, UnMountedDirective } from '@sarafapp/iron_core';
|
|
3
|
+
export declare class TooltipDirective implements MountedDirective, UnMountedDirective {
|
|
4
|
+
constructor();
|
|
5
|
+
mounted(element: HTMLElement, binding: DirectiveBinding<string>): void;
|
|
6
|
+
private appendTooltipElementToDom;
|
|
7
|
+
private getTooltipContainer;
|
|
8
|
+
private createTooltipElement;
|
|
9
|
+
unMounted(element: HTMLElement): void;
|
|
10
|
+
private removeTooltips;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
isDisabled?: boolean;
|
|
4
|
+
isIndeterminate?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
modelValue?: boolean;
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: boolean) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
label: string;
|
|
15
|
+
isDisabled: boolean;
|
|
16
|
+
isIndeterminate: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SarafCheckbox } from './checkbox/SarafCheckbox.vue';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { InputControl, Nullable } from '@sarafapp/iron_core';
|
|
2
|
+
import { ComponentSize } from '../Constants.ts';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
inputControl: InputControl<Nullable<number>>;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
isClearable?: boolean;
|
|
8
|
+
size?: ComponentSize;
|
|
9
|
+
hasTime?: boolean;
|
|
10
|
+
maxDate?: Nullable<number>;
|
|
11
|
+
minDate?: Nullable<number>;
|
|
12
|
+
disabledDates?: number[];
|
|
13
|
+
};
|
|
14
|
+
type __VLS_PublicProps = {
|
|
15
|
+
modelValue?: Nullable<number>;
|
|
16
|
+
} & __VLS_Props;
|
|
17
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (value: Nullable<number>) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: Nullable<number>) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
placeholder: string;
|
|
24
|
+
size: ComponentSize;
|
|
25
|
+
isClearable: boolean;
|
|
26
|
+
hasTime: boolean;
|
|
27
|
+
maxDate: Nullable<number>;
|
|
28
|
+
minDate: Nullable<number>;
|
|
29
|
+
disabledDates: number[];
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { RangeValue, InputControl, Nullable } from '@sarafapp/iron_core';
|
|
2
|
+
import { ComponentSize } from '../Constants';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
inputControl: InputControl<RangeValue>;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
isClearable?: boolean;
|
|
7
|
+
size?: ComponentSize;
|
|
8
|
+
hasTime?: boolean;
|
|
9
|
+
maxDate?: Nullable<number>;
|
|
10
|
+
minDate?: Nullable<number>;
|
|
11
|
+
disabledDates?: number[];
|
|
12
|
+
};
|
|
13
|
+
type __VLS_PublicProps = {
|
|
14
|
+
modelValue?: Nullable<RangeValue>;
|
|
15
|
+
} & __VLS_Props;
|
|
16
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: Nullable<RangeValue>) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: Nullable<RangeValue>) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
size: ComponentSize;
|
|
23
|
+
isClearable: boolean;
|
|
24
|
+
hasTime: boolean;
|
|
25
|
+
maxDate: Nullable<number>;
|
|
26
|
+
minDate: Nullable<number>;
|
|
27
|
+
disabledDates: number[];
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
export default _default;
|