portalcash-shared 1.3.2 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,7 @@
1
+ import { PropType } from 'vue';
2
+ type IconType = "icon" | "image";
3
+ type IconPos = "left" | "right";
4
+ type Variant = "primary" | "primary_outlined" | "success" | "success_outlined" | "warning_outlined" | "upload" | "link" | "text_blue" | "blue" | "danger";
1
5
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
6
  label: {
3
7
  type: StringConstructor;
@@ -8,17 +12,21 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
8
12
  default: string;
9
13
  };
10
14
  iconType: {
11
- type: StringConstructor;
15
+ type: PropType<IconType>;
12
16
  default: string;
13
17
  };
14
18
  iconPos: {
15
- type: StringConstructor;
19
+ type: PropType<IconPos>;
16
20
  default: string;
17
21
  };
18
22
  iconClass: {
19
23
  type: StringConstructor;
20
24
  default: string;
21
25
  };
26
+ customClass: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
22
30
  disabled: {
23
31
  type: BooleanConstructor;
24
32
  default: boolean;
@@ -28,15 +36,33 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
28
36
  default: boolean;
29
37
  };
30
38
  variant: {
31
- type: StringConstructor;
39
+ type: PropType<Variant>;
32
40
  default: string;
33
- validator: (value: string) => boolean;
34
41
  };
35
- customClass: {
36
- type: StringConstructor;
42
+ /**Loading Props */
43
+ loading: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ loadingOnIcon: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ loadingPos: {
52
+ type: PropType<IconPos>;
37
53
  default: string;
38
54
  };
39
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
55
+ loadingSelf: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ loadingSelfTimeout: {
60
+ type: NumberConstructor;
61
+ default: number;
62
+ };
63
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
64
+ click: (...args: any[]) => void;
65
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
40
66
  label: {
41
67
  type: StringConstructor;
42
68
  default: string;
@@ -46,17 +72,21 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
46
72
  default: string;
47
73
  };
48
74
  iconType: {
49
- type: StringConstructor;
75
+ type: PropType<IconType>;
50
76
  default: string;
51
77
  };
52
78
  iconPos: {
53
- type: StringConstructor;
79
+ type: PropType<IconPos>;
54
80
  default: string;
55
81
  };
56
82
  iconClass: {
57
83
  type: StringConstructor;
58
84
  default: string;
59
85
  };
86
+ customClass: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
60
90
  disabled: {
61
91
  type: BooleanConstructor;
62
92
  default: boolean;
@@ -66,24 +96,47 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
66
96
  default: boolean;
67
97
  };
68
98
  variant: {
69
- type: StringConstructor;
99
+ type: PropType<Variant>;
70
100
  default: string;
71
- validator: (value: string) => boolean;
72
101
  };
73
- customClass: {
74
- type: StringConstructor;
102
+ /**Loading Props */
103
+ loading: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ loadingOnIcon: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ loadingPos: {
112
+ type: PropType<IconPos>;
75
113
  default: string;
76
114
  };
77
- }>> & Readonly<{}>, {
78
- label: string;
115
+ loadingSelf: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ loadingSelfTimeout: {
120
+ type: NumberConstructor;
121
+ default: number;
122
+ };
123
+ }>> & Readonly<{
124
+ onClick?: (...args: any[]) => any;
125
+ }>, {
79
126
  icon: string;
80
- iconType: string;
81
- iconPos: string;
127
+ label: string;
128
+ iconType: IconType;
129
+ iconPos: IconPos;
82
130
  iconClass: string;
131
+ customClass: string;
83
132
  disabled: boolean;
84
133
  enableHover: boolean;
85
- variant: string;
86
- customClass: string;
134
+ variant: Variant;
135
+ loading: boolean;
136
+ loadingOnIcon: boolean;
137
+ loadingPos: IconPos;
138
+ loadingSelf: boolean;
139
+ loadingSelfTimeout: number;
87
140
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
88
141
  export default _default;
89
142
  //# sourceMappingURL=CustomButton.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui/CustomButton.vue"],"names":[],"mappings":"AAgDA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6auB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAN,MAAM;;;;;;;;;;;;;;;;;AAhB7B,wBAkCG"}
1
+ {"version":3,"file":"CustomButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui/CustomButton.vue"],"names":[],"mappings":"AAuCA;AAmUA,OAAO,EAAY,QAAQ,EAAE,MAAM,KAAK,CAAC;AAKzC,KAAK,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AACjC,KAAK,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAChC,KAAK,OAAO,GACR,SAAS,GACT,kBAAkB,GAClB,SAAS,GACT,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,MAAM,GACN,WAAW,GACX,MAAM,GACN,QAAQ,CAAC;;;;;;;;;;;cAoSO,QAAQ,CAAC,QAAQ,CAAC;;;;cAKlB,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;cAWjB,QAAQ,CAAC,OAAO,CAAC;;;IAInC,mBAAmB;;;;;;;;;;cAID,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;cAxBjB,QAAQ,CAAC,QAAQ,CAAC;;;;cAKlB,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;cAWjB,QAAQ,CAAC,OAAO,CAAC;;;IAInC,mBAAmB;;;;;;;;;;cAID,QAAQ,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAnCrC,wBA0CG"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFormatPrice.d.ts","sourceRoot":"","sources":["../../src/composables/useFormatPrice.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB;0BAExB,MAAM,GAAG,MAAM,aACb,MAAM,0BACO,MAAM,WACrB,MAAM,KACb,MAAM;EAyBV"}
1
+ {"version":3,"file":"useFormatPrice.d.ts","sourceRoot":"","sources":["../../src/composables/useFormatPrice.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB;0BAExB,MAAM,GAAG,MAAM,aACb,MAAM,0BACO,MAAM,WACrB,MAAM,KACb,MAAM;EAwBV"}