@sarafapp/ant-design 1.0.14 → 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.
Files changed (63) hide show
  1. package/dist/index.d.ts +11 -701
  2. package/dist/src/Constants.d.ts +5 -0
  3. package/dist/src/baseForm/SarafFiledInvalidMessage.vue.d.ts +6 -0
  4. package/dist/src/baseForm/SarafNumberFiled.vue.d.ts +33 -0
  5. package/dist/src/baseForm/SarafPasswordFiled.vue.d.ts +21 -0
  6. package/dist/src/baseForm/SarafSearchFiled.vue.d.ts +20 -0
  7. package/dist/src/baseForm/SarafSelect.vue.d.ts +39 -0
  8. package/dist/src/baseForm/SarafTextFiled.vue.d.ts +31 -0
  9. package/dist/src/baseForm/index.d.ts +8 -0
  10. package/dist/src/baseForm/model/Constants.d.ts +22 -0
  11. package/dist/src/baseForm/model/Model.d.ts +5 -0
  12. package/dist/src/baseTable/SarafBankCardTableCell.vue.d.ts +5 -0
  13. package/dist/src/baseTable/SarafDynamicCurrencyPriceTableCell.vue.d.ts +6 -0
  14. package/dist/src/baseTable/SarafIbanTableCell.vue.d.ts +5 -0
  15. package/dist/src/baseTable/SarafPriceTableCell.vue.d.ts +5 -0
  16. package/dist/src/baseTable/SarafSymbolTableCell.vue.d.ts +6 -0
  17. package/dist/src/baseTable/SarafTable.vue.d.ts +20 -0
  18. package/dist/src/baseTable/SarafTableGenerator.vue.d.ts +22 -0
  19. package/dist/src/baseTable/SarafTradeAmountTableCell.vue.d.ts +6 -0
  20. package/dist/src/baseTable/SarafTradeDateCell.vue.d.ts +6 -0
  21. package/dist/src/baseTable/SarafTradeSymbolCell.vue.d.ts +6 -0
  22. package/dist/src/baseTable/SarafTradeSymbolPriceCell.vue.d.ts +6 -0
  23. package/dist/src/baseTable/index.d.ts +11 -0
  24. package/dist/src/dataDisplay/chart/SarafChart.vue.d.ts +18 -0
  25. package/dist/src/dataDisplay/chart/model/AreaChartDataSource.d.ts +8 -0
  26. package/dist/src/dataDisplay/chart/model/CategoricalDataSource.d.ts +6 -0
  27. package/dist/src/dataDisplay/chart/model/ChartTypes.d.ts +26 -0
  28. package/dist/src/dataDisplay/chart/model/DataSource.d.ts +22 -0
  29. package/dist/src/dataDisplay/chart/model/DonutChartDataSource.d.ts +10 -0
  30. package/dist/src/dataDisplay/index.d.ts +10 -0
  31. package/dist/src/dataDisplay/tab/model/SarafTab.d.ts +6 -0
  32. package/dist/src/dataDisplay/tab/ui/SarafSecondaryTabs.vue.d.ts +17 -0
  33. package/dist/src/dataDisplay/tab/ui/SarafTabs.vue.d.ts +17 -0
  34. package/dist/src/dataDisplay/tag/SarafTag.vue.d.ts +29 -0
  35. package/dist/src/dataDisplay/tag/model/Constants.d.ts +7 -0
  36. package/dist/src/dataDisplay/tooltip/model/tooltipDirective.d.ts +11 -0
  37. package/dist/src/dataEntry/checkbox/SarafCheckbox.vue.d.ts +18 -0
  38. package/dist/src/dataEntry/index.d.ts +1 -0
  39. package/dist/src/datePicker/SarafDatePicker.vue.d.ts +31 -0
  40. package/dist/src/datePicker/SarafRangePicker.vue.d.ts +29 -0
  41. package/dist/src/datePicker/index.d.ts +2 -0
  42. package/dist/src/general/button/SarafButton.vue.d.ts +40 -0
  43. package/dist/src/general/button/model/Constants.d.ts +9 -0
  44. package/dist/src/general/index.d.ts +2 -0
  45. package/dist/src/icons/ArrowDownIcon.vue.d.ts +9 -0
  46. package/dist/src/icons/ArrowUpIcon.vue.d.ts +9 -0
  47. package/dist/src/icons/BurgerIcon.vue.d.ts +6 -0
  48. package/dist/src/icons/GiftCardIcon.vue.d.ts +2 -0
  49. package/dist/src/icons/PlusIcon.vue.d.ts +2 -0
  50. package/dist/src/icons/ResetIcon.vue.d.ts +2 -0
  51. package/dist/src/icons/SarafArrowIcon.vue.d.ts +2 -0
  52. package/dist/src/icons/SarafLogoIcon.vue.d.ts +2 -0
  53. package/dist/src/icons/SearchIcon.vue.d.ts +2 -0
  54. package/dist/src/icons/index.d.ts +9 -0
  55. package/dist/src/loaders/index.d.ts +2 -0
  56. package/dist/src/loaders/spinners/SarafDefaultSpinner.vue.d.ts +8 -0
  57. package/dist/src/loaders/spinners/model/Constants.d.ts +5 -0
  58. package/dist/src/loaders/spinners/model/SarafDefaultSpinner.d.ts +4 -0
  59. package/dist/src/localProvider/ApplicationLocalProvider.vue.d.ts +17 -0
  60. package/dist/src/localProvider/index.d.ts +1 -0
  61. package/dist/src/types/Global.d.ts +1 -0
  62. package/dist/src/types/index.d.ts +1 -0
  63. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,701 +1,11 @@
1
- import { AllowedComponentProps } from 'vue';
2
- import { Amount } from '@sarafapp/iron_core';
3
- import { ApexOptions } from 'apexcharts';
4
- import { BaseModel } from '@sarafapp/iron_core';
5
- import { BaseTable } from '@sarafapp/iron_core';
6
- import { ComponentCustomProps } from 'vue';
7
- import { ComponentOptionsMixin } from 'vue';
8
- import { ComponentProvideOptions } from 'vue';
9
- import { DefineComponent } from 'vue';
10
- import { DirectiveBinding } from 'vue';
11
- import { InputControl } from '@sarafapp/iron_core';
12
- import { MinifiedSymbolModel } from '@sarafapp/iron_core';
13
- import { MountedDirective } from '@sarafapp/iron_core';
14
- import { Nullable as Nullable_2 } from '@sarafapp/iron_core';
15
- import { PublicProps } from 'vue';
16
- import { RangeValue } from '@sarafapp/iron_core';
17
- import { SelectableTable } from '@sarafapp/iron_core';
18
- import { SelectableTableGenerator } from '@sarafapp/iron_core';
19
- import { ShallowUnwrapRef } from 'vue';
20
- import { SymbolInTrade } from '@sarafapp/iron_core';
21
- import { SymbolPriceInTrade } from '@sarafapp/iron_core';
22
- import { TableConfig } from '@sarafapp/iron_core';
23
- import { TableGenerator } from '@sarafapp/iron_core';
24
- import { TradeAmount } from '@sarafapp/iron_core';
25
- import { TradeDate } from '@sarafapp/iron_core';
26
- import { UnMountedDirective } from '@sarafapp/iron_core';
27
- import { VNode } from 'vue';
28
- import { VNodeProps } from 'vue';
29
-
30
- declare const __VLS_component: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
31
- disabled: boolean;
32
- color: TagColors;
33
- hasBorder: boolean;
34
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
35
-
36
- declare const __VLS_component_2: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
37
- click: () => any;
38
- }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
39
- onClick?: (() => any) | undefined;
40
- }>, {
41
- class: string;
42
- size: ComponentSize;
43
- type: ButtonType;
44
- isDisabled: boolean;
45
- color: ButtonColor;
46
- isLoading: boolean;
47
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
48
-
49
- declare const __VLS_component_3: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
50
-
51
- declare type __VLS_PrettifyLocal<T> = {
52
- [K in keyof T]: T[K];
53
- } & {};
54
-
55
- declare type __VLS_PrettifyLocal_2<T> = {
56
- [K in keyof T]: T[K];
57
- } & {};
58
-
59
- declare type __VLS_PrettifyLocal_3<T> = {
60
- [K in keyof T]: T[K];
61
- } & {};
62
-
63
- declare type __VLS_PrettifyLocal_4<T> = {
64
- [K in keyof T]: T[K];
65
- } & {};
66
-
67
- declare type __VLS_PrettifyLocal_5<T> = {
68
- [K in keyof T]: T[K];
69
- } & {};
70
-
71
- declare type __VLS_PrettifyLocal_6<T> = {
72
- [K in keyof T]: T[K];
73
- } & {};
74
-
75
- declare type __VLS_Props = {
76
- debounceTime?: number;
77
- size?: InputSizes;
78
- };
79
-
80
- declare type __VLS_Props_10 = {
81
- price: number;
82
- };
83
-
84
- declare type __VLS_Props_11 = {
85
- symbolInTrade: SymbolInTrade;
86
- };
87
-
88
- declare type __VLS_Props_12 = {
89
- amount: Amount;
90
- };
91
-
92
- declare type __VLS_Props_13 = {
93
- content: string;
94
- color?: TagColors;
95
- disabled?: boolean;
96
- hasBorder?: boolean;
97
- };
98
-
99
- declare type __VLS_Props_14 = {
100
- tabs: SarafTab[];
101
- size?: ComponentSize;
102
- };
103
-
104
- declare type __VLS_Props_15 = {
105
- tabs: SarafTab[];
106
- size?: ComponentSize;
107
- };
108
-
109
- declare type __VLS_Props_16 = {
110
- label?: string;
111
- isDisabled?: boolean;
112
- isIndeterminate?: boolean;
113
- };
114
-
115
- declare type __VLS_Props_17 = {
116
- inputControl: InputControl<Nullable_2<number>>;
117
- placeholder?: string;
118
- disabled?: boolean;
119
- isClearable?: boolean;
120
- size?: ComponentSize;
121
- hasTime?: boolean;
122
- maxDate?: Nullable_2<number>;
123
- minDate?: Nullable_2<number>;
124
- disabledDates?: number[];
125
- };
126
-
127
- declare type __VLS_Props_18 = {
128
- inputControl: InputControl<RangeValue>;
129
- disabled?: boolean;
130
- isClearable?: boolean;
131
- size?: ComponentSize;
132
- hasTime?: boolean;
133
- maxDate?: Nullable_2<number>;
134
- minDate?: Nullable_2<number>;
135
- disabledDates?: number[];
136
- };
137
-
138
- declare type __VLS_Props_19 = {
139
- width: number;
140
- height: number;
141
- };
142
-
143
- declare type __VLS_Props_2 = {
144
- inputControl: InputControl<string>;
145
- size?: InputSizes;
146
- disabled?: boolean;
147
- isClearable?: boolean;
148
- };
149
-
150
- declare type __VLS_Props_20 = {
151
- width: number;
152
- height: number;
153
- };
154
-
155
- declare type __VLS_Props_21 = {
156
- width: number;
157
- height: number;
158
- };
159
-
160
- declare type __VLS_Props_22 = {
161
- size?: ComponentSize;
162
- type?: ButtonType;
163
- color?: ButtonColor;
164
- isLoading?: boolean;
165
- isDisabled?: boolean;
166
- class?: string;
167
- };
168
-
169
- declare type __VLS_Props_23 = {
170
- size?: SpinnerSizes;
171
- };
172
-
173
- declare type __VLS_Props_3 = {
174
- invalidMessage: string;
175
- disabled: boolean;
176
- };
177
-
178
- declare type __VLS_Props_4 = {
179
- cardNumber: number | string;
180
- };
181
-
182
- declare type __VLS_Props_5 = {
183
- iban: number | string;
184
- };
185
-
186
- declare type __VLS_Props_6 = {
187
- symbol: MinifiedSymbolModel;
188
- };
189
-
190
- declare type __VLS_Props_7 = {
191
- symbolTradeAmountDetail: TradeAmount;
192
- };
193
-
194
- declare type __VLS_Props_8 = {
195
- symbolPriceInTrade: SymbolPriceInTrade;
196
- };
197
-
198
- declare type __VLS_Props_9 = {
199
- tradeDate: TradeDate;
200
- };
201
-
202
- declare type __VLS_PublicProps = {
203
- modelValue?: string;
204
- } & __VLS_Props;
205
-
206
- declare type __VLS_PublicProps_2 = {
207
- modelValue?: string;
208
- } & __VLS_Props_2;
209
-
210
- declare type __VLS_PublicProps_3 = {
211
- modelValue?: string | number;
212
- } & __VLS_Props_14;
213
-
214
- declare type __VLS_PublicProps_4 = {
215
- modelValue?: string | number;
216
- } & __VLS_Props_15;
217
-
218
- declare type __VLS_PublicProps_5 = {
219
- modelValue?: boolean;
220
- } & __VLS_Props_16;
221
-
222
- declare type __VLS_PublicProps_6 = {
223
- modelValue?: Nullable_2<number>;
224
- } & __VLS_Props_17;
225
-
226
- declare type __VLS_PublicProps_7 = {
227
- modelValue?: Nullable_2<RangeValue>;
228
- } & __VLS_Props_18;
229
-
230
- declare function __VLS_template(): {
231
- attrs: Partial<{}>;
232
- slots: {
233
- 'before-icon'?(_: {}): any;
234
- 'after-icon'?(_: {}): any;
235
- };
236
- refs: {};
237
- rootEl: any;
238
- };
239
-
240
- declare function __VLS_template_2(): {
241
- attrs: Partial<{}>;
242
- slots: {
243
- beforeIcon?(_: {}): any;
244
- default?(_: {}): any;
245
- afterIcon?(_: {}): any;
246
- };
247
- refs: {};
248
- rootEl: any;
249
- };
250
-
251
- declare function __VLS_template_3(): {
252
- attrs: Partial<{}>;
253
- slots: {
254
- default?(_: {}): any;
255
- };
256
- refs: {};
257
- rootEl: any;
258
- };
259
-
260
- declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
261
-
262
- declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
263
-
264
- declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
265
-
266
- declare type __VLS_WithTemplateSlots<T, S> = T & {
267
- new (): {
268
- $slots: S;
269
- };
270
- };
271
-
272
- declare type __VLS_WithTemplateSlots_2<T, S> = T & {
273
- new (): {
274
- $slots: S;
275
- };
276
- };
277
-
278
- declare type __VLS_WithTemplateSlots_3<T, S> = T & {
279
- new (): {
280
- $slots: S;
281
- };
282
- };
283
-
284
- export declare const ApplicationLocalProvider: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
285
-
286
- export declare class AreaChartDataSource extends CategoricalChartDataSource<ChartSeries[]> {
287
- constructor(settings: ChartSettings);
288
- protected generateSeries(): ChartSeries[];
289
- protected generateOptions(): ApexOptions;
290
- }
291
-
292
- export declare const ArrowDownIcon: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {
293
- width: number;
294
- height: number;
295
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
296
-
297
- export declare const ArrowUpIcon: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {
298
- width: number;
299
- height: number;
300
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
301
-
302
- export declare const enum BasicInputNames {
303
- Search = "search"
304
- }
305
-
306
- export declare const BurgerIcon: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
307
-
308
- export declare const enum ButtonColor {
309
- Primary = "primary",
310
- Danger = "danger"
311
- }
312
-
313
- export declare const enum ButtonType {
314
- Fill = "primary",
315
- Outline = "default",
316
- Text = "link"
317
- }
318
-
319
- declare abstract class CategoricalChartDataSource<Series> extends ChartDataSource<Series> {
320
- protected constructor(chartType: ChartType, settings: ChartSettings);
321
- protected completeData(): RawChartDataPoint[][];
322
- }
323
-
324
- declare abstract class ChartDataSource<Series> {
325
- protected rawData: RawChartDataPoint[][];
326
- protected settings: ChartSettings;
327
- protected options: Nullable_2<ApexOptions>;
328
- protected series: Nullable_2<Series>;
329
- private readonly chartType;
330
- protected constructor(chartType: ChartType, settings: ChartSettings);
331
- setRawData(data: RawChartDataPoint[][]): void;
332
- private checkData;
333
- private validateData;
334
- protected isDataValid(): boolean;
335
- protected abstract completeData(): RawChartDataPoint[][];
336
- protected abstract generateSeries(): Series;
337
- protected generateCommonOptions(): ApexOptions;
338
- protected abstract generateOptions(): ApexOptions;
339
- getSeries(): never[] | NonNullable<Series>;
340
- getOptions(): Nullable_2<ApexOptions>;
341
- getType(): ChartType;
342
- }
343
-
344
- export declare class ChartSeries {
345
- name: string;
346
- data: Nullable<number>[];
347
- constructor(name: string, data: Nullable<number>[]);
348
- }
349
-
350
- export declare class ChartSettings {
351
- title: string;
352
- toolbar?: boolean;
353
- sensitive?: boolean;
354
- xAxisCategories?: string[];
355
- seriesNames?: string[];
356
- constructor(title: string, toolbar?: boolean, sensitive?: boolean, xAxisCategories?: string[], seriesNames?: string[]);
357
- }
358
-
359
- export declare enum ChartType {
360
- LINE = "line",
361
- AREA = "area",
362
- BAR = "bar",
363
- PIE = "pie",
364
- DONUT = "donut"
365
- }
366
-
367
- export declare const enum ComponentSize {
368
- Small = "small",
369
- Medium = "medium",
370
- Large = "large"
371
- }
372
-
373
- export declare class DonutChartDataSource extends ChartDataSource<number[]> {
374
- constructor(settings: ChartSettings);
375
- protected completeData(): RawChartDataPoint[][];
376
- protected generateSeries(): number[];
377
- protected generateOptions(): ApexOptions;
378
- setTotalValue(label: string): void;
379
- }
380
-
381
- export declare const GiftCardIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
382
-
383
- export declare const enum InputSizes {
384
- Small = "small",
385
- Medium = "medium",
386
- Large = "large"
387
- }
388
-
389
- export declare const enum InputStatus {
390
- Error = "error",
391
- Warning = "warning",
392
- Default = "default"
393
- }
394
-
395
- export declare type Nullable<T> = T | null;
396
-
397
- export declare const PlusIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
398
-
399
- export declare class RawChartDataPoint {
400
- label: string;
401
- value: Nullable<number>;
402
- constructor(label: string, value: Nullable<number>);
403
- }
404
-
405
- export declare const ResetIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
406
-
407
- export declare const SarafArrowIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
408
-
409
- export declare const SarafBankCardTableCell: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
410
-
411
- export declare const SarafButton: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
412
-
413
- export declare const SarafChart: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
414
- props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
415
- dataSource: ChartDataSource<T>;
416
- width?: string;
417
- height?: string;
418
- } & Partial<{}>> & PublicProps;
419
- expose(exposed: ShallowUnwrapRef< {}>): void;
420
- attrs: any;
421
- slots: {};
422
- emit: {};
423
- }>) => VNode & {
424
- __ctx?: Awaited<typeof __VLS_setup>;
425
- };
426
-
427
- export declare const SarafCheckbox: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
428
- "update:modelValue": (value: boolean) => any;
429
- }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
430
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
431
- }>, {
432
- label: string;
433
- isDisabled: boolean;
434
- isIndeterminate: boolean;
435
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
436
-
437
- export declare const SarafDatePicker: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
438
- "update:modelValue": (value: Nullable_2<number>) => any;
439
- }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
440
- "onUpdate:modelValue"?: ((value: Nullable_2<number>) => any) | undefined;
441
- }>, {
442
- disabled: boolean;
443
- placeholder: string;
444
- size: ComponentSize;
445
- isClearable: boolean;
446
- hasTime: boolean;
447
- maxDate: Nullable_2<number>;
448
- minDate: Nullable_2<number>;
449
- disabledDates: number[];
450
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
451
-
452
- export declare const SarafDefaultSpinner: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
453
- size: SpinnerSizes;
454
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
455
-
456
- export declare const SarafDynamicCurrencyPriceTableCell: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
457
-
458
- export declare const SarafFiledInvalidMessage: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
459
-
460
- export declare const SarafIbanTableCell: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
461
-
462
- export declare const enum SarafInputTypes {
463
- Text = "text",
464
- Password = "password",
465
- Number = "Number"
466
- }
467
-
468
- export declare const SarafLogoIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
469
-
470
- export declare const SarafNumberFiled: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
471
- props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
472
- readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
473
- readonly onButtonClick?: (() => any) | undefined;
474
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onButtonClick"> & ({
475
- modelValue?: T;
476
- } & {
477
- inputControl: InputControl<string>;
478
- placeholder: string;
479
- size?: InputSizes;
480
- disabled?: boolean;
481
- isClearable?: boolean;
482
- type?: SarafInputTypes;
483
- max?: number;
484
- min?: number;
485
- }) & Partial<{}>> & PublicProps;
486
- expose(exposed: ShallowUnwrapRef< {}>): void;
487
- attrs: any;
488
- slots: {
489
- prefix?(_: {}): any;
490
- suffix?(_: {}): any;
491
- button?(_: {}): any;
492
- };
493
- emit: ((event: "buttonClick") => void) & ((evt: "update:modelValue", value: T) => void);
494
- }>) => VNode & {
495
- __ctx?: Awaited<typeof __VLS_setup>;
496
- };
497
-
498
- export declare const SarafPasswordFiled: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
499
- "update:modelValue": (value: string) => any;
500
- }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
501
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
502
- }>, {
503
- disabled: boolean;
504
- size: InputSizes;
505
- isClearable: boolean;
506
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
507
-
508
- export declare const SarafPriceTableCell: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
509
-
510
- export declare const SarafRangePicker: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
511
- "update:modelValue": (value: Nullable_2<RangeValue>) => any;
512
- }, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
513
- "onUpdate:modelValue"?: ((value: Nullable_2<RangeValue>) => any) | undefined;
514
- }>, {
515
- disabled: boolean;
516
- size: ComponentSize;
517
- isClearable: boolean;
518
- hasTime: boolean;
519
- maxDate: Nullable_2<number>;
520
- minDate: Nullable_2<number>;
521
- disabledDates: number[];
522
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
523
-
524
- export declare const SarafSearchFiled: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
525
- "update:modelValue": (value: string) => any;
526
- } & {
527
- search: (searchedValue: string) => any;
528
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
529
- onSearch?: ((searchedValue: string) => any) | undefined;
530
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
531
- }>, {
532
- size: InputSizes;
533
- debounceTime: number;
534
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
535
-
536
- export declare const SarafSecondaryTabs: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
537
- "update:modelValue": (value: string | number) => any;
538
- }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
539
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
540
- }>, {
541
- size: ComponentSize;
542
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
543
-
544
- export declare const SarafSelect: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
545
- props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{
546
- readonly onSearch?: ((searchedValue: string) => any) | undefined;
547
- readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
548
- readonly onFetchMore?: (() => any) | undefined;
549
- readonly onSearchStart?: ((searchedValue: string) => any) | undefined;
550
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onSearch" | "onFetchMore" | "onSearchStart"> & ({
551
- modelValue?: T;
552
- } & {
553
- inputControl: InputControl<T>;
554
- totalCount: number;
555
- items: SelectItem[];
556
- isMultiple?: boolean;
557
- disabled?: boolean;
558
- initialItems?: SelectItem[];
559
- placeholder?: string;
560
- size?: InputSizes;
561
- isSearchable?: boolean;
562
- isLoading?: boolean;
563
- isClearable?: boolean;
564
- }) & Partial<{}>> & PublicProps;
565
- expose(exposed: ShallowUnwrapRef< {}>): void;
566
- attrs: any;
567
- slots: {};
568
- emit: {
569
- (event: "fetchMore"): void;
570
- (event: "searchStart", searchedValue: string): void;
571
- (event: "search", searchedValue: string): void;
572
- } & ((evt: "update:modelValue", value: T) => void);
573
- }>) => VNode & {
574
- __ctx?: Awaited<typeof __VLS_setup>;
575
- };
576
-
577
- export declare const enum SarafSelectMode {
578
- Multi = "multiple",
579
- Single = "single"
580
- }
581
-
582
- export declare const SarafSymbolTableCell: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
583
-
584
- export declare class SarafTab {
585
- value: string | number;
586
- title: string;
587
- isDisabled?: boolean;
588
- constructor(value: string | number, title: string, isDisabled?: boolean);
589
- }
590
-
591
- export declare const SarafTable: <Model extends BaseModel>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
592
- props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
593
- dataSource: BaseTable<Model> | SelectableTable<Model>;
594
- } & Partial<{}>> & PublicProps;
595
- expose(exposed: ShallowUnwrapRef< {}>): void;
596
- attrs: any;
597
- slots: {
598
- expandedRowRender?(_: {
599
- row: Model;
600
- }): any;
601
- };
602
- emit: {};
603
- }>) => VNode & {
604
- __ctx?: Awaited<typeof __VLS_setup>;
605
- };
606
-
607
- export declare const SarafTableGenerator: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
608
- props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
609
- dataSource: TableGenerator<T> | SelectableTableGenerator<T>;
610
- isLoading: boolean;
611
- tableConfig: TableConfig;
612
- } & Partial<{}>> & PublicProps;
613
- expose(exposed: ShallowUnwrapRef< {}>): void;
614
- attrs: any;
615
- slots: {
616
- expandedRowRender?(_: {
617
- row: T;
618
- }): any;
619
- };
620
- emit: {};
621
- }>) => VNode & {
622
- __ctx?: Awaited<typeof __VLS_setup>;
623
- };
624
-
625
- export declare const SarafTabs: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
626
- "update:modelValue": (value: string | number) => any;
627
- }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
628
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
629
- }>, {
630
- size: ComponentSize;
631
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
632
-
633
- export declare const SarafTag: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
634
-
635
- export declare const SarafTextFiled: <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<{
636
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
637
- readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
638
- readonly onButtonClick?: (() => any) | undefined;
639
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onButtonClick"> & ({
640
- modelValue?: T;
641
- } & {
642
- inputControl: InputControl<string>;
643
- placeholder: string;
644
- size?: InputSizes;
645
- disabled?: boolean;
646
- isClearable?: boolean;
647
- type?: SarafInputTypes;
648
- }) & Partial<{}>> & PublicProps;
649
- expose(exposed: ShallowUnwrapRef< {}>): void;
650
- attrs: any;
651
- slots: {
652
- prefix?(_: {}): any;
653
- suffix?(_: {}): any;
654
- button?(_: {}): any;
655
- };
656
- emit: ((event: "buttonClick") => void) & ((evt: "update:modelValue", value: T) => void);
657
- }>) => VNode & {
658
- __ctx?: Awaited<typeof __VLS_setup>;
659
- };
660
-
661
- export declare const SarafTradeAmountTableCell: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
662
-
663
- export declare const SarafTradeDateCell: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
664
-
665
- export declare const SarafTradeSymbolCell: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
666
-
667
- export declare const SarafTradeSymbolPriceCell: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
668
-
669
- export declare const SearchIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
670
-
671
- export declare class SelectItem {
672
- value: string | number;
673
- label: string;
674
- constructor(value: string | number, label: string);
675
- }
676
-
677
- export declare const enum SpinnerSizes {
678
- Small = "12px",
679
- Medium = "24px",
680
- Large = "36px"
681
- }
682
-
683
- export declare const enum TagColors {
684
- Default = "default",
685
- Success = "success",
686
- Danger = "danger",
687
- Warning = "warning",
688
- Info = "info"
689
- }
690
-
691
- export declare class TooltipDirective implements MountedDirective, UnMountedDirective {
692
- constructor();
693
- mounted(element: HTMLElement, binding: DirectiveBinding<string>): void;
694
- private appendTooltipElementToDom;
695
- private getTooltipContainer;
696
- private createTooltipElement;
697
- unMounted(element: HTMLElement): void;
698
- private removeTooltips;
699
- }
700
-
701
- export { }
1
+ export * from './src/baseForm';
2
+ export * from './src/baseTable';
3
+ export * from './src/dataDisplay';
4
+ export * from './src/dataEntry';
5
+ export * from './src/datePicker';
6
+ export * from './src/icons';
7
+ export * from './src/general';
8
+ export * from './src/loaders';
9
+ export * from './src/types';
10
+ export * from './src/localProvider';
11
+ export * from './src/Constants.ts';