@sarafapp/ant-design 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ import o from "./SarafNumberFiled.vue.es2.js";
2
+ /* empty css */
3
+ import r from "../_virtual/_plugin-vue_export-helper.es.js";
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-28c2baf7"]]);
5
+ export {
6
+ m as default
7
+ };
@@ -0,0 +1,92 @@
1
+ import { defineComponent as z, mergeModels as m, useModel as E, useSlots as M, computed as t, resolveComponent as N, resolveDirective as I, withDirectives as w, createElementBlock as D, openBlock as $, normalizeClass as o, createVNode as f, createSlots as F, withCtx as n, createElementVNode as i, renderSlot as u } from "vue";
2
+ import { InputStatus as v, SarafInputTypes as A, InputSizes as L } from "./model/Constants.es.js";
3
+ import P from "./SarafFiledInvalidMessage.vue.es.js";
4
+ const q = /* @__PURE__ */ z({
5
+ __name: "SarafNumberFiled",
6
+ props: /* @__PURE__ */ m({
7
+ inputControl: {},
8
+ placeholder: {},
9
+ size: { default: L.Large },
10
+ disabled: { type: Boolean },
11
+ isClearable: { type: Boolean, default: !1 },
12
+ type: { default: A.Number },
13
+ max: {},
14
+ min: {}
15
+ }, {
16
+ modelValue: {},
17
+ modelModifiers: {}
18
+ }),
19
+ emits: /* @__PURE__ */ m(["buttonClick"], ["update:modelValue"]),
20
+ setup(r, { emit: b }) {
21
+ const e = r, d = E(r, "modelValue"), x = b, s = M(), C = t(() => !!s.button), _ = t(() => !!s.prefix), y = t(() => !!s.suffix), c = t(() => e.inputControl.getNotValidMessage()), B = t(() => !!c.value), k = t(() => B.value ? v.Error : v.Default), a = t(() => ({
22
+ disabled: e.disabled
23
+ }));
24
+ function S() {
25
+ e.disabled || x("buttonClick");
26
+ }
27
+ return (l, p) => {
28
+ const g = N("a-input-number"), h = I("touch-sensitive-control");
29
+ return w(($(), D("div", {
30
+ tabindex: "1",
31
+ class: o(["input__container", a.value])
32
+ }, [
33
+ f(g, {
34
+ value: d.value,
35
+ "onUpdate:value": p[0] || (p[0] = (V) => d.value = V),
36
+ status: k.value,
37
+ size: e.size,
38
+ placeholder: e.placeholder,
39
+ disabled: e.disabled,
40
+ "allow-clear": e.isClearable,
41
+ type: e.type,
42
+ max: e.max,
43
+ min: e.min
44
+ }, F({ _: 2 }, [
45
+ _.value ? {
46
+ name: "prefix",
47
+ fn: n(() => [
48
+ i("span", {
49
+ class: o(["input--icon", a.value])
50
+ }, [
51
+ u(l.$slots, "prefix", {}, void 0, !0)
52
+ ], 2)
53
+ ]),
54
+ key: "0"
55
+ } : void 0,
56
+ y.value ? {
57
+ name: "suffix",
58
+ fn: n(() => [
59
+ i("span", {
60
+ class: o(["input--icon", a.value])
61
+ }, [
62
+ u(l.$slots, "suffix", {}, void 0, !0)
63
+ ], 2)
64
+ ]),
65
+ key: "1"
66
+ } : void 0,
67
+ C.value ? {
68
+ name: "addonAfter",
69
+ fn: n(() => [
70
+ i("span", {
71
+ class: "input_button",
72
+ onClick: S
73
+ }, [
74
+ u(l.$slots, "button", {}, void 0, !0)
75
+ ])
76
+ ]),
77
+ key: "2"
78
+ } : void 0
79
+ ]), 1032, ["value", "status", "size", "placeholder", "disabled", "allow-clear", "type", "max", "min"]),
80
+ f(P, {
81
+ "invalid-message": c.value,
82
+ disabled: e.disabled
83
+ }, null, 8, ["invalid-message", "disabled"])
84
+ ], 2)), [
85
+ [h, e.inputControl]
86
+ ]);
87
+ };
88
+ }
89
+ });
90
+ export {
91
+ q as default
92
+ };
@@ -0,0 +1,48 @@
1
+ import { defineComponent as f, mergeModels as y, useModel as b, ref as c, computed as v, createBlock as n, openBlock as s, withCtx as C, unref as o } from "vue";
2
+ import T from "./SarafTextFiled.vue.es.js";
3
+ import { SarafInputTypes as t, InputSizes as x } from "./model/Constants.es.js";
4
+ import V from "../node_modules/@ant-design/icons-vue/es/icons/EyeTwoTone.es.js";
5
+ import k from "../node_modules/@ant-design/icons-vue/es/icons/EyeInvisibleOutlined.es.js";
6
+ const M = /* @__PURE__ */ f({
7
+ __name: "SarafPasswordFiled",
8
+ props: /* @__PURE__ */ y({
9
+ inputControl: {},
10
+ size: { default: x.Large },
11
+ disabled: { type: Boolean, default: !1 },
12
+ isClearable: { type: Boolean, default: !1 }
13
+ }, {
14
+ modelValue: {},
15
+ modelModifiers: {}
16
+ }),
17
+ emits: ["update:modelValue"],
18
+ setup(r) {
19
+ const l = r, u = b(r, "modelValue"), a = c(t.Password), m = v(() => a.value === t.Text);
20
+ function d(p) {
21
+ a.value = p;
22
+ }
23
+ return (p, e) => (s(), n(T, {
24
+ modelValue: u.value,
25
+ "onUpdate:modelValue": e[2] || (e[2] = (i) => u.value = i),
26
+ "input-control": l.inputControl,
27
+ placeholder: "رمز عبور",
28
+ size: l.size,
29
+ disabled: l.disabled,
30
+ "is-clearable": l.isClearable,
31
+ type: a.value
32
+ }, {
33
+ suffix: C(() => [
34
+ m.value ? (s(), n(o(k), {
35
+ key: 1,
36
+ onClick: e[1] || (e[1] = (i) => d(o(t).Password))
37
+ })) : (s(), n(o(V), {
38
+ key: 0,
39
+ onClick: e[0] || (e[0] = (i) => d(o(t).Text))
40
+ }))
41
+ ]),
42
+ _: 1
43
+ }, 8, ["modelValue", "input-control", "size", "disabled", "is-clearable", "type"]));
44
+ }
45
+ });
46
+ export {
47
+ M as default
48
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./SarafPasswordFiled.vue.es.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,13 @@
1
+ var s = Object.defineProperty;
2
+ var c = (l, e, t) => e in l ? s(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t;
3
+ var a = (l, e, t) => c(l, typeof e != "symbol" ? e + "" : e, t);
4
+ class r {
5
+ constructor(e, t) {
6
+ a(this, "value");
7
+ a(this, "label");
8
+ this.value = e, this.label = t;
9
+ }
10
+ }
11
+ export {
12
+ r as SelectItem
13
+ };
package/dist/index.d.ts CHANGED
@@ -24,15 +24,15 @@ import { UnMountedDirective } from '@sarafapp/iron_core';
24
24
  import { VNode } from 'vue';
25
25
  import { VNodeProps } from 'vue';
26
26
 
27
- declare const __VLS_component: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {
27
+ declare const __VLS_component: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
28
28
  disabled: boolean;
29
29
  color: TagColors;
30
30
  hasBorder: boolean;
31
31
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
32
32
 
33
- declare const __VLS_component_2: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
33
+ declare const __VLS_component_2: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
34
34
  click: () => any;
35
- }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
35
+ }, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
36
36
  onClick?: (() => any) | undefined;
37
37
  }>, {
38
38
  class: string;
@@ -61,33 +61,41 @@ declare type __VLS_PrettifyLocal_4<T> = {
61
61
  [K in keyof T]: T[K];
62
62
  } & {};
63
63
 
64
+ declare type __VLS_PrettifyLocal_5<T> = {
65
+ [K in keyof T]: T[K];
66
+ } & {};
67
+
64
68
  declare type __VLS_Props = {
65
69
  debounceTime?: number;
66
70
  size?: InputSizes;
67
71
  };
68
72
 
69
73
  declare type __VLS_Props_10 = {
70
- symbolInTrade: SymbolInTrade;
74
+ price: number;
71
75
  };
72
76
 
73
77
  declare type __VLS_Props_11 = {
74
- amount: Amount;
78
+ symbolInTrade: SymbolInTrade;
75
79
  };
76
80
 
77
81
  declare type __VLS_Props_12 = {
82
+ amount: Amount;
83
+ };
84
+
85
+ declare type __VLS_Props_13 = {
78
86
  content: string;
79
87
  color?: TagColors;
80
88
  disabled?: boolean;
81
89
  hasBorder?: boolean;
82
90
  };
83
91
 
84
- declare type __VLS_Props_13 = {
92
+ declare type __VLS_Props_14 = {
85
93
  label?: string;
86
94
  isDisabled?: boolean;
87
95
  isIndeterminate?: boolean;
88
96
  };
89
97
 
90
- declare type __VLS_Props_14 = {
98
+ declare type __VLS_Props_15 = {
91
99
  inputControl: InputControl<Nullable_2<number>>;
92
100
  placeholder?: string;
93
101
  isClearable?: boolean;
@@ -99,7 +107,7 @@ declare type __VLS_Props_14 = {
99
107
  minDate?: Nullable_2<number>;
100
108
  };
101
109
 
102
- declare type __VLS_Props_15 = {
110
+ declare type __VLS_Props_16 = {
103
111
  inputControl: InputControl<RangeValue>;
104
112
  disabled?: boolean;
105
113
  isClearable?: boolean;
@@ -110,22 +118,29 @@ declare type __VLS_Props_15 = {
110
118
  disabledDates?: number[];
111
119
  };
112
120
 
113
- declare type __VLS_Props_16 = {
121
+ declare type __VLS_Props_17 = {
114
122
  width: number;
115
123
  height: number;
116
124
  };
117
125
 
118
- declare type __VLS_Props_17 = {
126
+ declare type __VLS_Props_18 = {
119
127
  width: number;
120
128
  height: number;
121
129
  };
122
130
 
123
- declare type __VLS_Props_18 = {
131
+ declare type __VLS_Props_19 = {
124
132
  width: number;
125
133
  height: number;
126
134
  };
127
135
 
128
- declare type __VLS_Props_19 = {
136
+ declare type __VLS_Props_2 = {
137
+ inputControl: InputControl<string>;
138
+ size?: InputSizes;
139
+ disabled?: boolean;
140
+ isClearable?: boolean;
141
+ };
142
+
143
+ declare type __VLS_Props_20 = {
129
144
  size?: ComponentSize;
130
145
  type?: ButtonType;
131
146
  color?: ButtonColor;
@@ -134,41 +149,37 @@ declare type __VLS_Props_19 = {
134
149
  class?: string;
135
150
  };
136
151
 
137
- declare type __VLS_Props_2 = {
138
- invalidMessage: string;
139
- disabled: boolean;
140
- };
141
-
142
- declare type __VLS_Props_20 = {
152
+ declare type __VLS_Props_21 = {
143
153
  size?: SpinnerSizes;
144
154
  };
145
155
 
146
156
  declare type __VLS_Props_3 = {
147
- cardNumber: number | string;
157
+ invalidMessage: string;
158
+ disabled: boolean;
148
159
  };
149
160
 
150
161
  declare type __VLS_Props_4 = {
151
- iban: number | string;
162
+ cardNumber: number | string;
152
163
  };
153
164
 
154
165
  declare type __VLS_Props_5 = {
155
- symbol: MinifiedSymbolModel;
166
+ iban: number | string;
156
167
  };
157
168
 
158
169
  declare type __VLS_Props_6 = {
159
- symbolTradeAmountDetail: TradeAmount;
170
+ symbol: MinifiedSymbolModel;
160
171
  };
161
172
 
162
173
  declare type __VLS_Props_7 = {
163
- symbolPriceInTrade: SymbolPriceInTrade;
174
+ symbolTradeAmountDetail: TradeAmount;
164
175
  };
165
176
 
166
177
  declare type __VLS_Props_8 = {
167
- tradeDate: TradeDate;
178
+ symbolPriceInTrade: SymbolPriceInTrade;
168
179
  };
169
180
 
170
181
  declare type __VLS_Props_9 = {
171
- price: number;
182
+ tradeDate: TradeDate;
172
183
  };
173
184
 
174
185
  declare type __VLS_PublicProps = {
@@ -176,17 +187,21 @@ declare type __VLS_PublicProps = {
176
187
  } & __VLS_Props;
177
188
 
178
189
  declare type __VLS_PublicProps_2 = {
179
- modelValue?: boolean;
180
- } & __VLS_Props_13;
190
+ modelValue?: string;
191
+ } & __VLS_Props_2;
181
192
 
182
193
  declare type __VLS_PublicProps_3 = {
183
- modelValue?: Nullable_2<number>;
194
+ modelValue?: boolean;
184
195
  } & __VLS_Props_14;
185
196
 
186
197
  declare type __VLS_PublicProps_4 = {
187
- modelValue?: Nullable_2<RangeValue>;
198
+ modelValue?: Nullable_2<number>;
188
199
  } & __VLS_Props_15;
189
200
 
201
+ declare type __VLS_PublicProps_5 = {
202
+ modelValue?: Nullable_2<RangeValue>;
203
+ } & __VLS_Props_16;
204
+
190
205
  declare function __VLS_template(): {
191
206
  attrs: Partial<{}>;
192
207
  slots: {
@@ -247,12 +262,12 @@ export declare class AreaChartDataSource extends CategoricalChartDataSource<Char
247
262
  protected generateOptions(): ApexOptions;
248
263
  }
249
264
 
250
- export declare const ArrowDownIcon: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {
265
+ export declare const ArrowDownIcon: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
251
266
  width: number;
252
267
  height: number;
253
268
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
254
269
 
255
- export declare const ArrowUpIcon: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
270
+ export declare const ArrowUpIcon: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {
256
271
  width: number;
257
272
  height: number;
258
273
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
@@ -261,7 +276,7 @@ export declare const enum BasicInputNames {
261
276
  Search = "search"
262
277
  }
263
278
 
264
- export declare const BurgerIcon: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
279
+ export declare const BurgerIcon: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
265
280
 
266
281
  export declare const enum ButtonColor {
267
282
  Primary = "primary",
@@ -322,7 +337,7 @@ export declare enum ChartType {
322
337
  DONUT = "donut"
323
338
  }
324
339
 
325
- declare const enum ComponentSize {
340
+ export declare const enum ComponentSize {
326
341
  Small = "small",
327
342
  Medium = "medium",
328
343
  Large = "large"
@@ -364,12 +379,12 @@ export declare const ResetIcon: DefineComponent< {}, {}, {}, {}, {}, Componen
364
379
 
365
380
  export declare const SarafArrowIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
366
381
 
367
- export declare const SarafBankCardTableCell: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
382
+ export declare const SarafBankCardTableCell: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
368
383
 
369
384
  export declare const SarafButton: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
370
385
 
371
- export declare const SarafChart: <T>(__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<{
372
- props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
386
+ export declare const SarafChart: <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<{
387
+ props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
373
388
  dataSource: ChartDataSource<T>;
374
389
  width?: string;
375
390
  height?: string;
@@ -382,9 +397,9 @@ export declare const SarafChart: <T>(__VLS_props: NonNullable<Awaited<typeof __V
382
397
  __ctx?: Awaited<typeof __VLS_setup>;
383
398
  };
384
399
 
385
- export declare const SarafCheckbox: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
400
+ export declare const SarafCheckbox: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
386
401
  "update:modelValue": (value: boolean) => any;
387
- }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
402
+ }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
388
403
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
389
404
  }>, {
390
405
  label: string;
@@ -392,9 +407,9 @@ isDisabled: boolean;
392
407
  isIndeterminate: boolean;
393
408
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
394
409
 
395
- export declare const SarafDatePicker: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
410
+ export declare const SarafDatePicker: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
396
411
  "update:modelValue": (value: Nullable_2<number>) => any;
397
- }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
412
+ }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
398
413
  "onUpdate:modelValue"?: ((value: Nullable_2<number>) => any) | undefined;
399
414
  }>, {
400
415
  disabled: boolean;
@@ -407,7 +422,7 @@ maxDate: Nullable_2<number>;
407
422
  minDate: Nullable_2<number>;
408
423
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
409
424
 
410
- export declare const SarafDefaultSpinner: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {
425
+ export declare const SarafDefaultSpinner: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {
411
426
  size: SpinnerSizes;
412
427
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
413
428
 
@@ -415,11 +430,11 @@ export declare const SarafDialog: DefineComponent< {}, {}, {}, {}, {}, Compon
415
430
 
416
431
  export declare const SarafDialogFooter: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
417
432
 
418
- export declare const SarafDynamicCurrencyPriceTableCell: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
433
+ export declare const SarafDynamicCurrencyPriceTableCell: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
419
434
 
420
- export declare const SarafFiledInvalidMessage: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
435
+ export declare const SarafFiledInvalidMessage: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
421
436
 
422
- export declare const SarafIbanTableCell: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
437
+ export declare const SarafIbanTableCell: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
423
438
 
424
439
  declare const enum SarafInputTypes {
425
440
  Text = "text",
@@ -429,11 +444,49 @@ declare const enum SarafInputTypes {
429
444
 
430
445
  export declare const SarafLogoIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
431
446
 
432
- export declare const SarafPriceTableCell: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
447
+ 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<{
448
+ props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
449
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
450
+ readonly onButtonClick?: (() => any) | undefined;
451
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onButtonClick"> & ({
452
+ modelValue?: T;
453
+ } & {
454
+ inputControl: InputControl<string>;
455
+ placeholder: string;
456
+ size?: InputSizes;
457
+ disabled?: boolean;
458
+ isClearable?: boolean;
459
+ type?: SarafInputTypes;
460
+ max?: number;
461
+ min?: number;
462
+ }) & Partial<{}>> & PublicProps;
463
+ expose(exposed: ShallowUnwrapRef< {}>): void;
464
+ attrs: any;
465
+ slots: {
466
+ prefix?(_: {}): any;
467
+ suffix?(_: {}): any;
468
+ button?(_: {}): any;
469
+ };
470
+ emit: ((event: "buttonClick") => void) & ((evt: "update:modelValue", value: T) => void);
471
+ }>) => VNode & {
472
+ __ctx?: Awaited<typeof __VLS_setup>;
473
+ };
433
474
 
434
- export declare const SarafRangePicker: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
475
+ export declare const SarafPasswordFiled: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
476
+ "update:modelValue": (value: string) => any;
477
+ }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
478
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
479
+ }>, {
480
+ disabled: boolean;
481
+ size: InputSizes;
482
+ isClearable: boolean;
483
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
484
+
485
+ export declare const SarafPriceTableCell: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
486
+
487
+ export declare const SarafRangePicker: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
435
488
  "update:modelValue": (value: Nullable_2<RangeValue>) => any;
436
- }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
489
+ }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
437
490
  "onUpdate:modelValue"?: ((value: Nullable_2<RangeValue>) => any) | undefined;
438
491
  }>, {
439
492
  disabled: boolean;
@@ -457,8 +510,8 @@ size: InputSizes;
457
510
  debounceTime: number;
458
511
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
459
512
 
460
- export declare const SarafSelect: <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<{
461
- props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
513
+ 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<{
514
+ props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{
462
515
  readonly onSearch?: ((searchedValue: string) => any) | undefined;
463
516
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
464
517
  readonly onFetchMore?: (() => any) | undefined;
@@ -495,10 +548,10 @@ export declare const enum SarafSelectMode {
495
548
  Single = "single"
496
549
  }
497
550
 
498
- export declare const SarafSymbolTableCell: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
551
+ export declare const SarafSymbolTableCell: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
499
552
 
500
- export declare const SarafTable: <Model extends BaseModel>(__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<{
501
- props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
553
+ 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<{
554
+ props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
502
555
  dataSource: BaseTable<Model> | SelectableTable<Model>;
503
556
  } & Partial<{}>> & PublicProps;
504
557
  expose(exposed: ShallowUnwrapRef< {}>): void;
@@ -541,17 +594,17 @@ export declare const SarafTextFiled: <T>(__VLS_props: NonNullable<Awaited<typeof
541
594
  __ctx?: Awaited<typeof __VLS_setup>;
542
595
  };
543
596
 
544
- export declare const SarafTradeAmountTableCell: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
597
+ export declare const SarafTradeAmountTableCell: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
545
598
 
546
- export declare const SarafTradeDateCell: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
599
+ export declare const SarafTradeDateCell: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
547
600
 
548
- export declare const SarafTradeSymbolCell: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
601
+ export declare const SarafTradeSymbolCell: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
549
602
 
550
- export declare const SarafTradeSymbolPriceCell: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
603
+ export declare const SarafTradeSymbolPriceCell: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
551
604
 
552
605
  export declare const SearchIcon: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
553
606
 
554
- declare class SelectItem {
607
+ export declare class SelectItem {
555
608
  value: string | number;
556
609
  label: string;
557
610
  constructor(value: string | number, label: string);