@acoustte-digital-services/digitalstore-controls 0.17.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +10 -15
- package/dist/index.d.ts +10 -15
- package/dist/index.js +5911 -455
- package/dist/index.mjs +5936 -446
- package/package.json +5 -8
package/dist/index.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ interface ViewControlProps {
|
|
|
9
9
|
customProps?: Record<string, any>;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
declare const ViewControl: React.
|
|
12
|
+
declare const ViewControl: React.ForwardRefExoticComponent<ViewControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
|
|
14
14
|
declare const ViewControlTypes: {
|
|
15
15
|
lineTextView: string;
|
|
@@ -20,7 +20,7 @@ declare const ViewControlTypes: {
|
|
|
20
20
|
dateView: string;
|
|
21
21
|
statusView: string;
|
|
22
22
|
statusBgView: string;
|
|
23
|
-
|
|
23
|
+
multilinetextView: string;
|
|
24
24
|
booleanView: string;
|
|
25
25
|
text: string;
|
|
26
26
|
};
|
|
@@ -59,19 +59,9 @@ interface SingleResponse<T> {
|
|
|
59
59
|
result?: T;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
interface Session {
|
|
63
|
-
cid: string;
|
|
64
|
-
contactId?: number;
|
|
65
|
-
fullName?: string;
|
|
66
|
-
truncatedPhone?: string;
|
|
67
|
-
userCurrencyCode?: string;
|
|
68
|
-
marketCode?: string;
|
|
69
|
-
oAuthToken?: string;
|
|
70
|
-
refreshToken?: string;
|
|
71
|
-
}
|
|
72
62
|
interface ServiceClientInterface {
|
|
73
63
|
baseUrl: string;
|
|
74
|
-
session:
|
|
64
|
+
session: any;
|
|
75
65
|
post(path: string, data: any): Promise<ActionResponse<any>>;
|
|
76
66
|
get(path: string, params?: {
|
|
77
67
|
[key: string]: any;
|
|
@@ -126,19 +116,24 @@ interface InputControlProps {
|
|
|
126
116
|
};
|
|
127
117
|
}
|
|
128
118
|
|
|
129
|
-
declare const InputControl: React.
|
|
119
|
+
declare const InputControl: React.ForwardRefExoticComponent<InputControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
130
120
|
|
|
131
121
|
declare const InputControlType: {
|
|
132
122
|
lineTextInput: string;
|
|
133
123
|
multilineTextInput: string;
|
|
134
124
|
emailInput: string;
|
|
135
125
|
moneyInput: string;
|
|
126
|
+
assetUpload: string;
|
|
136
127
|
select: string;
|
|
137
128
|
percentageInput: string;
|
|
138
129
|
phoneInput: string;
|
|
139
130
|
numberInput: string;
|
|
140
131
|
checkboxInput: string;
|
|
132
|
+
richTextInput: string;
|
|
133
|
+
richTextInputCompact: string;
|
|
141
134
|
otpInput: string;
|
|
135
|
+
image: string;
|
|
136
|
+
document: string;
|
|
142
137
|
datetimeInput: string;
|
|
143
138
|
timeInput: string;
|
|
144
139
|
colorInput: string;
|
|
@@ -147,4 +142,4 @@ declare const InputControlType: {
|
|
|
147
142
|
booleanSelect: string;
|
|
148
143
|
};
|
|
149
144
|
|
|
150
|
-
export { InputControl, InputControlType, ViewControl, ViewControlTypes };
|
|
145
|
+
export { type ActionResponse, InputControl, type InputControlProps, InputControlType, ViewControl, type ViewControlProps, ViewControlTypes };
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface ViewControlProps {
|
|
|
9
9
|
customProps?: Record<string, any>;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
declare const ViewControl: React.
|
|
12
|
+
declare const ViewControl: React.ForwardRefExoticComponent<ViewControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
|
|
14
14
|
declare const ViewControlTypes: {
|
|
15
15
|
lineTextView: string;
|
|
@@ -20,7 +20,7 @@ declare const ViewControlTypes: {
|
|
|
20
20
|
dateView: string;
|
|
21
21
|
statusView: string;
|
|
22
22
|
statusBgView: string;
|
|
23
|
-
|
|
23
|
+
multilinetextView: string;
|
|
24
24
|
booleanView: string;
|
|
25
25
|
text: string;
|
|
26
26
|
};
|
|
@@ -59,19 +59,9 @@ interface SingleResponse<T> {
|
|
|
59
59
|
result?: T;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
interface Session {
|
|
63
|
-
cid: string;
|
|
64
|
-
contactId?: number;
|
|
65
|
-
fullName?: string;
|
|
66
|
-
truncatedPhone?: string;
|
|
67
|
-
userCurrencyCode?: string;
|
|
68
|
-
marketCode?: string;
|
|
69
|
-
oAuthToken?: string;
|
|
70
|
-
refreshToken?: string;
|
|
71
|
-
}
|
|
72
62
|
interface ServiceClientInterface {
|
|
73
63
|
baseUrl: string;
|
|
74
|
-
session:
|
|
64
|
+
session: any;
|
|
75
65
|
post(path: string, data: any): Promise<ActionResponse<any>>;
|
|
76
66
|
get(path: string, params?: {
|
|
77
67
|
[key: string]: any;
|
|
@@ -126,19 +116,24 @@ interface InputControlProps {
|
|
|
126
116
|
};
|
|
127
117
|
}
|
|
128
118
|
|
|
129
|
-
declare const InputControl: React.
|
|
119
|
+
declare const InputControl: React.ForwardRefExoticComponent<InputControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
130
120
|
|
|
131
121
|
declare const InputControlType: {
|
|
132
122
|
lineTextInput: string;
|
|
133
123
|
multilineTextInput: string;
|
|
134
124
|
emailInput: string;
|
|
135
125
|
moneyInput: string;
|
|
126
|
+
assetUpload: string;
|
|
136
127
|
select: string;
|
|
137
128
|
percentageInput: string;
|
|
138
129
|
phoneInput: string;
|
|
139
130
|
numberInput: string;
|
|
140
131
|
checkboxInput: string;
|
|
132
|
+
richTextInput: string;
|
|
133
|
+
richTextInputCompact: string;
|
|
141
134
|
otpInput: string;
|
|
135
|
+
image: string;
|
|
136
|
+
document: string;
|
|
142
137
|
datetimeInput: string;
|
|
143
138
|
timeInput: string;
|
|
144
139
|
colorInput: string;
|
|
@@ -147,4 +142,4 @@ declare const InputControlType: {
|
|
|
147
142
|
booleanSelect: string;
|
|
148
143
|
};
|
|
149
144
|
|
|
150
|
-
export { InputControl, InputControlType, ViewControl, ViewControlTypes };
|
|
145
|
+
export { type ActionResponse, InputControl, type InputControlProps, InputControlType, ViewControl, type ViewControlProps, ViewControlTypes };
|