@acoustte-digital-services/digitalstore-controls 0.18.0 → 0.22.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 +11 -15
- package/dist/index.d.ts +11 -15
- package/dist/index.js +5903 -451
- package/dist/index.mjs +5939 -453
- package/package.json +25 -28
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;
|
|
@@ -97,6 +87,7 @@ interface InputControlProps {
|
|
|
97
87
|
dataKeyFieldName?: string;
|
|
98
88
|
dataTextFieldName?: string;
|
|
99
89
|
dataset?: any[];
|
|
90
|
+
assetsUploadPath?: string;
|
|
100
91
|
entityType?: string;
|
|
101
92
|
showAsLink?: boolean;
|
|
102
93
|
linkUrlSegment?: string;
|
|
@@ -126,19 +117,24 @@ interface InputControlProps {
|
|
|
126
117
|
};
|
|
127
118
|
}
|
|
128
119
|
|
|
129
|
-
declare const InputControl: React.
|
|
120
|
+
declare const InputControl: React.ForwardRefExoticComponent<InputControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
130
121
|
|
|
131
122
|
declare const InputControlType: {
|
|
132
123
|
lineTextInput: string;
|
|
133
124
|
multilineTextInput: string;
|
|
134
125
|
emailInput: string;
|
|
135
126
|
moneyInput: string;
|
|
127
|
+
assetUpload: string;
|
|
136
128
|
select: string;
|
|
137
129
|
percentageInput: string;
|
|
138
130
|
phoneInput: string;
|
|
139
131
|
numberInput: string;
|
|
140
132
|
checkboxInput: string;
|
|
133
|
+
richTextInput: string;
|
|
134
|
+
richTextInputCompact: string;
|
|
141
135
|
otpInput: string;
|
|
136
|
+
image: string;
|
|
137
|
+
document: string;
|
|
142
138
|
datetimeInput: string;
|
|
143
139
|
timeInput: string;
|
|
144
140
|
colorInput: string;
|
|
@@ -147,4 +143,4 @@ declare const InputControlType: {
|
|
|
147
143
|
booleanSelect: string;
|
|
148
144
|
};
|
|
149
145
|
|
|
150
|
-
export { InputControl, InputControlType, ViewControl, ViewControlTypes };
|
|
146
|
+
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;
|
|
@@ -97,6 +87,7 @@ interface InputControlProps {
|
|
|
97
87
|
dataKeyFieldName?: string;
|
|
98
88
|
dataTextFieldName?: string;
|
|
99
89
|
dataset?: any[];
|
|
90
|
+
assetsUploadPath?: string;
|
|
100
91
|
entityType?: string;
|
|
101
92
|
showAsLink?: boolean;
|
|
102
93
|
linkUrlSegment?: string;
|
|
@@ -126,19 +117,24 @@ interface InputControlProps {
|
|
|
126
117
|
};
|
|
127
118
|
}
|
|
128
119
|
|
|
129
|
-
declare const InputControl: React.
|
|
120
|
+
declare const InputControl: React.ForwardRefExoticComponent<InputControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
130
121
|
|
|
131
122
|
declare const InputControlType: {
|
|
132
123
|
lineTextInput: string;
|
|
133
124
|
multilineTextInput: string;
|
|
134
125
|
emailInput: string;
|
|
135
126
|
moneyInput: string;
|
|
127
|
+
assetUpload: string;
|
|
136
128
|
select: string;
|
|
137
129
|
percentageInput: string;
|
|
138
130
|
phoneInput: string;
|
|
139
131
|
numberInput: string;
|
|
140
132
|
checkboxInput: string;
|
|
133
|
+
richTextInput: string;
|
|
134
|
+
richTextInputCompact: string;
|
|
141
135
|
otpInput: string;
|
|
136
|
+
image: string;
|
|
137
|
+
document: string;
|
|
142
138
|
datetimeInput: string;
|
|
143
139
|
timeInput: string;
|
|
144
140
|
colorInput: string;
|
|
@@ -147,4 +143,4 @@ declare const InputControlType: {
|
|
|
147
143
|
booleanSelect: string;
|
|
148
144
|
};
|
|
149
145
|
|
|
150
|
-
export { InputControl, InputControlType, ViewControl, ViewControlTypes };
|
|
146
|
+
export { type ActionResponse, InputControl, type InputControlProps, InputControlType, ViewControl, type ViewControlProps, ViewControlTypes };
|