@sarafapp/ant-design 1.0.14 → 1.0.16

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.
Files changed (98) hide show
  1. package/dist/SarafAntDesign.css +1 -0
  2. package/dist/_virtual/_commonjsHelpers.es.js +3 -5
  3. package/dist/_virtual/dayjs.min.es.js +5 -2
  4. package/dist/_virtual/dayjs.min.es2.js +4 -0
  5. package/dist/_virtual/fa_IR.es.js +5 -2
  6. package/dist/_virtual/fa_IR.es7.js +4 -0
  7. package/dist/dataDisplay/chart/SarafChart.vue.es.js +12 -12
  8. package/dist/dataDisplay/tag/SarafTag.vue.es2.js +8 -8
  9. package/dist/datePicker/SarafDatePicker.vue.es2.js +1 -1
  10. package/dist/datePicker/SarafRangePicker.vue.es2.js +1 -1
  11. package/dist/general/button/SarafButton.vue.es.js +1 -1
  12. package/dist/icons/ArrowDownIcon.vue.es.js +2 -2
  13. package/dist/icons/ArrowUpIcon.vue.es.js +2 -2
  14. package/dist/icons/BurgerIcon.vue.es.js +2 -2
  15. package/dist/icons/GiftCardIcon.vue.es.js +2 -2
  16. package/dist/icons/PlusIcon.vue.es.js +2 -2
  17. package/dist/icons/ResetIcon.vue.es.js +2 -2
  18. package/dist/icons/SarafArrowIcon.vue.es.js +2 -2
  19. package/dist/icons/SarafLogoIcon.vue.es.js +2 -2
  20. package/dist/icons/SearchIcon.vue.es.js +2 -2
  21. package/dist/index.d.ts +11 -701
  22. package/dist/index.js +4 -4
  23. package/dist/localProvider/ApplicationLocalProvider.vue.es.js +1 -1
  24. package/dist/node_modules/@babel/runtime/helpers/extends.es.js +2 -2
  25. package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.es.js +13 -11
  26. package/dist/node_modules/ant-design-vue/lib/calendar/locale/fa_IR.es.js +7 -7
  27. package/dist/node_modules/ant-design-vue/lib/date-picker/locale/fa_IR.es.js +11 -11
  28. package/dist/node_modules/ant-design-vue/lib/locale/fa_IR.es.js +140 -133
  29. package/dist/node_modules/ant-design-vue/lib/time-picker/locale/fa_IR.es.js +1 -1
  30. package/dist/node_modules/ant-design-vue/lib/vc-pagination/locale/fa_IR.es.js +1 -1
  31. package/dist/node_modules/ant-design-vue/lib/vc-picker/locale/fa_IR.es.js +1 -1
  32. package/dist/node_modules/ant-design-vue/locale/fa_IR.es.js +6 -6
  33. package/dist/node_modules/dayjs/dayjs.min.es.js +277 -277
  34. package/dist/packages/core/index.es.js +105 -0
  35. package/dist/src/Constants.d.ts +5 -0
  36. package/dist/src/baseForm/SarafFiledInvalidMessage.vue.d.ts +6 -0
  37. package/dist/src/baseForm/SarafNumberFiled.vue.d.ts +33 -0
  38. package/dist/src/baseForm/SarafPasswordFiled.vue.d.ts +21 -0
  39. package/dist/src/baseForm/SarafSearchFiled.vue.d.ts +20 -0
  40. package/dist/src/baseForm/SarafSelect.vue.d.ts +39 -0
  41. package/dist/src/baseForm/SarafTextFiled.vue.d.ts +31 -0
  42. package/dist/src/baseForm/index.d.ts +8 -0
  43. package/dist/src/baseForm/model/Constants.d.ts +22 -0
  44. package/dist/src/baseForm/model/Model.d.ts +5 -0
  45. package/dist/src/baseTable/SarafBankCardTableCell.vue.d.ts +5 -0
  46. package/dist/src/baseTable/SarafDynamicCurrencyPriceTableCell.vue.d.ts +6 -0
  47. package/dist/src/baseTable/SarafIbanTableCell.vue.d.ts +5 -0
  48. package/dist/src/baseTable/SarafPriceTableCell.vue.d.ts +5 -0
  49. package/dist/src/baseTable/SarafSymbolTableCell.vue.d.ts +6 -0
  50. package/dist/src/baseTable/SarafTable.vue.d.ts +20 -0
  51. package/dist/src/baseTable/SarafTableGenerator.vue.d.ts +22 -0
  52. package/dist/src/baseTable/SarafTradeAmountTableCell.vue.d.ts +6 -0
  53. package/dist/src/baseTable/SarafTradeDateCell.vue.d.ts +6 -0
  54. package/dist/src/baseTable/SarafTradeSymbolCell.vue.d.ts +6 -0
  55. package/dist/src/baseTable/SarafTradeSymbolPriceCell.vue.d.ts +6 -0
  56. package/dist/src/baseTable/index.d.ts +11 -0
  57. package/dist/src/dataDisplay/chart/SarafChart.vue.d.ts +18 -0
  58. package/dist/src/dataDisplay/chart/model/AreaChartDataSource.d.ts +8 -0
  59. package/dist/src/dataDisplay/chart/model/CategoricalDataSource.d.ts +6 -0
  60. package/dist/src/dataDisplay/chart/model/ChartTypes.d.ts +26 -0
  61. package/dist/src/dataDisplay/chart/model/DataSource.d.ts +22 -0
  62. package/dist/src/dataDisplay/chart/model/DonutChartDataSource.d.ts +10 -0
  63. package/dist/src/dataDisplay/index.d.ts +10 -0
  64. package/dist/src/dataDisplay/tab/model/SarafTab.d.ts +6 -0
  65. package/dist/src/dataDisplay/tab/ui/SarafSecondaryTabs.vue.d.ts +17 -0
  66. package/dist/src/dataDisplay/tab/ui/SarafTabs.vue.d.ts +17 -0
  67. package/dist/src/dataDisplay/tag/SarafTag.vue.d.ts +29 -0
  68. package/dist/src/dataDisplay/tag/model/Constants.d.ts +7 -0
  69. package/dist/src/dataDisplay/tooltip/model/tooltipDirective.d.ts +11 -0
  70. package/dist/src/dataEntry/checkbox/SarafCheckbox.vue.d.ts +18 -0
  71. package/dist/src/dataEntry/index.d.ts +1 -0
  72. package/dist/src/datePicker/SarafDatePicker.vue.d.ts +31 -0
  73. package/dist/src/datePicker/SarafRangePicker.vue.d.ts +29 -0
  74. package/dist/src/datePicker/index.d.ts +2 -0
  75. package/dist/src/general/button/SarafButton.vue.d.ts +40 -0
  76. package/dist/src/general/button/model/Constants.d.ts +9 -0
  77. package/dist/src/general/index.d.ts +2 -0
  78. package/dist/src/icons/ArrowDownIcon.vue.d.ts +9 -0
  79. package/dist/src/icons/ArrowUpIcon.vue.d.ts +9 -0
  80. package/dist/src/icons/BurgerIcon.vue.d.ts +6 -0
  81. package/dist/src/icons/GiftCardIcon.vue.d.ts +2 -0
  82. package/dist/src/icons/PlusIcon.vue.d.ts +2 -0
  83. package/dist/src/icons/ResetIcon.vue.d.ts +2 -0
  84. package/dist/src/icons/SarafArrowIcon.vue.d.ts +2 -0
  85. package/dist/src/icons/SarafLogoIcon.vue.d.ts +2 -0
  86. package/dist/src/icons/SearchIcon.vue.d.ts +2 -0
  87. package/dist/src/icons/index.d.ts +9 -0
  88. package/dist/src/loaders/index.d.ts +2 -0
  89. package/dist/src/loaders/spinners/SarafDefaultSpinner.vue.d.ts +8 -0
  90. package/dist/src/loaders/spinners/model/Constants.d.ts +5 -0
  91. package/dist/src/loaders/spinners/model/SarafDefaultSpinner.d.ts +4 -0
  92. package/dist/src/localProvider/ApplicationLocalProvider.vue.d.ts +17 -0
  93. package/dist/src/localProvider/index.d.ts +1 -0
  94. package/dist/src/types/Global.d.ts +1 -0
  95. package/dist/src/types/index.d.ts +1 -0
  96. package/package.json +2 -1
  97. package/dist/index.es.js +0 -105
  98. package/dist/style.css +0 -1
@@ -0,0 +1,105 @@
1
+ import { ComponentSize as o } from "../../Constants.es.js";
2
+ /* empty css */
3
+ import { default as f } from "../../baseForm/SarafSearchFiled.vue.es.js";
4
+ import { default as p } from "../../baseForm/SarafPasswordFiled.vue.es.js";
5
+ import { default as s } from "../../dataDisplay/chart/SarafChart.vue.es.js";
6
+ import { default as d } from "../../icons/ArrowDownIcon.vue.es.js";
7
+ import { default as x } from "../../icons/ArrowUpIcon.vue.es.js";
8
+ import { default as c } from "../../icons/BurgerIcon.vue.es.js";
9
+ import { default as C } from "../../loaders/spinners/SarafDefaultSpinner.vue.es.js";
10
+ import { default as b } from "../../localProvider/ApplicationLocalProvider.vue.es.js";
11
+ import { BasicInputNames as h, InputSizes as D, InputStatus as y, SarafInputTypes as P, SarafSelectMode as g } from "../../baseForm/model/Constants.es.js";
12
+ import { SelectItem as A } from "../../baseForm/model/Model.es.js";
13
+ import { default as F } from "../../baseForm/SarafTextFiled.vue.es.js";
14
+ import { default as v } from "../../baseForm/SarafNumberFiled.vue.es.js";
15
+ import { default as R } from "../../baseForm/SarafSelect.vue.es.js";
16
+ import { default as L } from "../../baseForm/SarafFiledInvalidMessage.vue.es.js";
17
+ import { default as N } from "../../baseTable/SarafTable.vue.es.js";
18
+ import { default as j } from "../../baseTable/SarafBankCardTableCell.vue.es.js";
19
+ import { default as E } from "../../baseTable/SarafIbanTableCell.vue.es.js";
20
+ import { default as J } from "../../baseTable/SarafSymbolTableCell.vue.es.js";
21
+ import { default as O } from "../../baseTable/SarafTradeAmountTableCell.vue.es.js";
22
+ import { default as V } from "../../baseTable/SarafTradeSymbolPriceCell.vue.es.js";
23
+ import { default as X } from "../../baseTable/SarafTradeDateCell.vue.es.js";
24
+ import { default as Z } from "../../baseTable/SarafPriceTableCell.vue.es.js";
25
+ import { default as $ } from "../../baseTable/SarafTradeSymbolCell.vue.es.js";
26
+ import { default as ra } from "../../baseTable/SarafDynamicCurrencyPriceTableCell.vue.es.js";
27
+ import { default as oa } from "../../baseTable/SarafTableGenerator.vue.es.js";
28
+ import { default as fa } from "../../dataDisplay/tag/SarafTag.vue.es.js";
29
+ import { TagColors as pa } from "../../dataDisplay/tag/model/Constants.es.js";
30
+ import { default as sa } from "../../dataDisplay/tab/ui/SarafTabs.vue.es.js";
31
+ import { default as da } from "../../dataDisplay/tab/ui/SarafSecondaryTabs.vue.es.js";
32
+ import { SarafTab as xa } from "../../dataDisplay/tab/model/SarafTab.es.js";
33
+ import { AreaChartDataSource as ca } from "../../dataDisplay/chart/model/AreaChartDataSource.es.js";
34
+ import { DonutChartDataSource as Ca } from "../../dataDisplay/chart/model/DonutChartDataSource.es.js";
35
+ import { ChartSeries as ba, ChartSettings as Ia, ChartType as ha, RawChartDataPoint as Da } from "../../dataDisplay/chart/model/ChartTypes.es.js";
36
+ import { TooltipDirective as Pa } from "../../dataDisplay/tooltip/model/tooltipDirective.es.js";
37
+ import { default as wa } from "../../dataEntry/checkbox/SarafCheckbox.vue.es.js";
38
+ import { default as Ba } from "../../datePicker/SarafDatePicker.vue.es.js";
39
+ import { default as ka } from "../../datePicker/SarafRangePicker.vue.es.js";
40
+ import { default as za } from "../../icons/SarafArrowIcon.vue.es.js";
41
+ import { default as Ga } from "../../icons/GiftCardIcon.vue.es.js";
42
+ import { default as Ma } from "../../icons/PlusIcon.vue.es.js";
43
+ import { default as Ua } from "../../icons/ResetIcon.vue.es.js";
44
+ import { default as qa } from "../../icons/SarafLogoIcon.vue.es.js";
45
+ import { default as Ha } from "../../icons/SearchIcon.vue.es.js";
46
+ import { ButtonColor as Ka, ButtonType as Oa } from "../../general/button/model/Constants.es.js";
47
+ import { default as Va } from "../../general/button/SarafButton.vue.es.js";
48
+ import { SpinnerSizes as Xa } from "../../loaders/spinners/model/Constants.es.js";
49
+ export {
50
+ b as ApplicationLocalProvider,
51
+ ca as AreaChartDataSource,
52
+ d as ArrowDownIcon,
53
+ x as ArrowUpIcon,
54
+ h as BasicInputNames,
55
+ c as BurgerIcon,
56
+ Ka as ButtonColor,
57
+ Oa as ButtonType,
58
+ ba as ChartSeries,
59
+ Ia as ChartSettings,
60
+ ha as ChartType,
61
+ o as ComponentSize,
62
+ Ca as DonutChartDataSource,
63
+ Ga as GiftCardIcon,
64
+ D as InputSizes,
65
+ y as InputStatus,
66
+ Ma as PlusIcon,
67
+ Da as RawChartDataPoint,
68
+ Ua as ResetIcon,
69
+ za as SarafArrowIcon,
70
+ j as SarafBankCardTableCell,
71
+ Va as SarafButton,
72
+ s as SarafChart,
73
+ wa as SarafCheckbox,
74
+ Ba as SarafDatePicker,
75
+ C as SarafDefaultSpinner,
76
+ ra as SarafDynamicCurrencyPriceTableCell,
77
+ L as SarafFiledInvalidMessage,
78
+ E as SarafIbanTableCell,
79
+ P as SarafInputTypes,
80
+ qa as SarafLogoIcon,
81
+ v as SarafNumberFiled,
82
+ p as SarafPasswordFiled,
83
+ Z as SarafPriceTableCell,
84
+ ka as SarafRangePicker,
85
+ f as SarafSearchFiled,
86
+ da as SarafSecondaryTabs,
87
+ R as SarafSelect,
88
+ g as SarafSelectMode,
89
+ J as SarafSymbolTableCell,
90
+ xa as SarafTab,
91
+ N as SarafTable,
92
+ oa as SarafTableGenerator,
93
+ sa as SarafTabs,
94
+ fa as SarafTag,
95
+ F as SarafTextFiled,
96
+ O as SarafTradeAmountTableCell,
97
+ X as SarafTradeDateCell,
98
+ $ as SarafTradeSymbolCell,
99
+ V as SarafTradeSymbolPriceCell,
100
+ Ha as SearchIcon,
101
+ A as SelectItem,
102
+ Xa as SpinnerSizes,
103
+ pa as TagColors,
104
+ Pa as TooltipDirective
105
+ };
@@ -0,0 +1,5 @@
1
+ export declare const enum ComponentSize {
2
+ Small = "small",
3
+ Medium = "medium",
4
+ Large = "large"
5
+ }
@@ -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
+ export declare class SelectItem {
2
+ value: string | number;
3
+ label: string;
4
+ constructor(value: string | number, label: string);
5
+ }
@@ -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,6 @@
1
+ export declare class SarafTab {
2
+ value: string | number;
3
+ title: string;
4
+ isDisabled?: boolean;
5
+ constructor(value: string | number, title: string, isDisabled?: boolean);
6
+ }
@@ -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,7 @@
1
+ export declare const enum TagColors {
2
+ Default = "default",
3
+ Success = "success",
4
+ Danger = "danger",
5
+ Warning = "warning",
6
+ Info = "info"
7
+ }