@integry/sdk 4.6.32 → 4.6.34
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/.vscode/launch.json +13 -21
- package/dist/esm/index.csm.d.ts +1 -0
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +1 -0
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
- package/src/features/containers/AppFlowContainer/AppFlowListing/compactStyles.module.scss +13 -0
- package/src/features/containers/AppFlowContainer/AppFlowListing/flowCard.tsx +7 -1
- package/src/features/containers/AppFlowContainer/AppFlowListing/flowCardCompact.tsx +24 -0
- package/src/features/containers/AppFlowContainer/AppFlowListing/styles.module.scss +13 -0
- package/src/features/containers/AppFlowContainer/AppFlowWrap/index.tsx +4 -0
- package/src/features/containers/AppFlowContainer/AppFlowWrap/styles.module.scss +13 -0
- package/src/interfaces/index.ts +2 -0
- package/.idea/misc.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/sdk-v4.iml +0 -9
- package/.idea/vcs.xml +0 -6
package/package.json
CHANGED
|
@@ -282,6 +282,19 @@
|
|
|
282
282
|
// max-width: 265px;
|
|
283
283
|
max-width: 220px;
|
|
284
284
|
}
|
|
285
|
+
.flowVersion {
|
|
286
|
+
background: rgb(233, 236, 238);
|
|
287
|
+
color: rgb(79, 79, 79);
|
|
288
|
+
font-size: 10px;
|
|
289
|
+
font-weight: 400;
|
|
290
|
+
padding: 2px 8px;
|
|
291
|
+
line-height: 12px;
|
|
292
|
+
text-align: center;
|
|
293
|
+
padding: 4px 9px;
|
|
294
|
+
/* height: 20px; */
|
|
295
|
+
display: inline-block;
|
|
296
|
+
margin-left: 7px;
|
|
297
|
+
}
|
|
285
298
|
.flowDescription {
|
|
286
299
|
color: var(--black-and-grey-draft-and-tooltip-desc, #999);
|
|
287
300
|
font-size: 10px;
|
|
@@ -111,7 +111,13 @@ const FlowCard = ({
|
|
|
111
111
|
<//>`
|
|
112
112
|
: ''}
|
|
113
113
|
<div>
|
|
114
|
-
<div class="${styles.flowName}"
|
|
114
|
+
<div class="${styles.flowName}">
|
|
115
|
+
${flow.name}
|
|
116
|
+
${flow.version_number &&
|
|
117
|
+
html`<span class=${styles.flowVersion}
|
|
118
|
+
>v${flow.version_number}</span
|
|
119
|
+
>`}
|
|
120
|
+
</div>
|
|
115
121
|
${flow.description
|
|
116
122
|
? html`<div class="${styles.flowDescription}">
|
|
117
123
|
${flow.description}
|
|
@@ -161,6 +161,10 @@ const FlowCardCompact = ({
|
|
|
161
161
|
class="${styles.flowName}"
|
|
162
162
|
>
|
|
163
163
|
${flow.name}
|
|
164
|
+
${flow.version_number &&
|
|
165
|
+
html`<span class=${styles.flowVersion}
|
|
166
|
+
>v${flow.version_number}</span
|
|
167
|
+
>`}
|
|
164
168
|
</div>
|
|
165
169
|
<div
|
|
166
170
|
class=${styles.flowInstanceRowMeta}
|
|
@@ -180,6 +184,10 @@ const FlowCardCompact = ({
|
|
|
180
184
|
class="${styles.flowName}"
|
|
181
185
|
>
|
|
182
186
|
${flow.name}
|
|
187
|
+
${flow.version_number &&
|
|
188
|
+
html`<span class=${styles.flowVersion}
|
|
189
|
+
>v${flow.version_number}</span
|
|
190
|
+
>`}
|
|
183
191
|
</div>
|
|
184
192
|
${getFlowDescription()
|
|
185
193
|
? html`<div class="${styles.flowDescription}">
|
|
@@ -192,6 +200,10 @@ const FlowCardCompact = ({
|
|
|
192
200
|
class="${styles.flowName}"
|
|
193
201
|
>
|
|
194
202
|
${flow.name}
|
|
203
|
+
${flow.version_number &&
|
|
204
|
+
html`<span class=${styles.flowVersion}
|
|
205
|
+
>v${flow.version_number}</span
|
|
206
|
+
>`}
|
|
195
207
|
</div>
|
|
196
208
|
${getFlowDescription()
|
|
197
209
|
? html`<div class="${styles.flowDescription}">
|
|
@@ -205,6 +217,10 @@ const FlowCardCompact = ({
|
|
|
205
217
|
style="${flow.instances?.length > 0 ? '' : ''}"
|
|
206
218
|
>
|
|
207
219
|
${flow.name}
|
|
220
|
+
${flow.version_number &&
|
|
221
|
+
html`<span class=${styles.flowVersion}
|
|
222
|
+
>v${flow.version_number}</span
|
|
223
|
+
>`}
|
|
208
224
|
</div>
|
|
209
225
|
${flow.instances?.length > 0
|
|
210
226
|
? html`
|
|
@@ -232,6 +248,10 @@ const FlowCardCompact = ({
|
|
|
232
248
|
class="${styles.flowName}"
|
|
233
249
|
>
|
|
234
250
|
${flow.name}
|
|
251
|
+
${flow.version_number &&
|
|
252
|
+
html`<span class=${styles.flowVersion}
|
|
253
|
+
>v${flow.version_number}</span
|
|
254
|
+
>`}
|
|
235
255
|
</div>
|
|
236
256
|
${getFlowDescription()
|
|
237
257
|
? html`<div class="${styles.flowDescription}">
|
|
@@ -244,6 +264,10 @@ const FlowCardCompact = ({
|
|
|
244
264
|
class="${styles.flowName}"
|
|
245
265
|
>
|
|
246
266
|
${flow.name}
|
|
267
|
+
${flow.version_number &&
|
|
268
|
+
html`<span class=${styles.flowVersion}
|
|
269
|
+
>v${flow.version_number}</span
|
|
270
|
+
>`}
|
|
247
271
|
</div>
|
|
248
272
|
${getFlowDescription()
|
|
249
273
|
? html`<div class="${styles.flowDescription}">
|
|
@@ -183,6 +183,19 @@
|
|
|
183
183
|
min-height: 17px;
|
|
184
184
|
min-width: 100px;
|
|
185
185
|
}
|
|
186
|
+
.flowVersion {
|
|
187
|
+
background: rgb(233, 236, 238);
|
|
188
|
+
color: rgb(79, 79, 79);
|
|
189
|
+
font-size: 10px;
|
|
190
|
+
font-weight: 400;
|
|
191
|
+
padding: 2px 8px;
|
|
192
|
+
line-height: 12px;
|
|
193
|
+
text-align: center;
|
|
194
|
+
padding: 4px 9px;
|
|
195
|
+
/* height: 20px; */
|
|
196
|
+
display: inline-block;
|
|
197
|
+
margin-left: 7px;
|
|
198
|
+
}
|
|
186
199
|
.flowDescription {
|
|
187
200
|
color: #999;
|
|
188
201
|
font-size: 12px;
|
|
@@ -595,6 +595,10 @@ const RenderAppPage = (props: WraperrProps) => {
|
|
|
595
595
|
alt=${appData?.name}
|
|
596
596
|
/>
|
|
597
597
|
<span>${selectedFlow?.flow.name}</span>
|
|
598
|
+
${selectedFlow?.flow?.version_number &&
|
|
599
|
+
html`<span class=${styles.flowVersion}
|
|
600
|
+
>v${selectedFlow?.flow?.version_number}</span
|
|
601
|
+
>`}
|
|
598
602
|
</div>
|
|
599
603
|
</div>
|
|
600
604
|
`}
|
|
@@ -53,6 +53,19 @@
|
|
|
53
53
|
border-radius: 0 !important;
|
|
54
54
|
user-select: none;
|
|
55
55
|
}
|
|
56
|
+
.flowVersion {
|
|
57
|
+
background: rgb(233, 236, 238);
|
|
58
|
+
color: rgb(79, 79, 79);
|
|
59
|
+
font-size: 10px;
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
padding: 2px 8px;
|
|
62
|
+
line-height: 12px;
|
|
63
|
+
text-align: center;
|
|
64
|
+
padding: 4px 9px;
|
|
65
|
+
/* height: 20px; */
|
|
66
|
+
display: inline-block;
|
|
67
|
+
margin-left: 7px;
|
|
68
|
+
}
|
|
56
69
|
|
|
57
70
|
span {
|
|
58
71
|
color: var(--black-and-grey-title-and-desc, #333);
|
package/src/interfaces/index.ts
CHANGED
|
@@ -110,6 +110,7 @@ export interface Template {
|
|
|
110
110
|
tags: string;
|
|
111
111
|
};
|
|
112
112
|
is_manual?: boolean;
|
|
113
|
+
version_number?: number | null;
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
export interface Integration {
|
|
@@ -853,6 +854,7 @@ export interface Flow {
|
|
|
853
854
|
execution_behaviour: 'SAVE_ONLY' | 'SAVE_AND_EXECUTE';
|
|
854
855
|
button_text: string;
|
|
855
856
|
branding_app?: BrandingApp;
|
|
857
|
+
version_number?: number | null;
|
|
856
858
|
}
|
|
857
859
|
|
|
858
860
|
export interface AppFlowsResponse {
|
package/.idea/misc.xml
DELETED
package/.idea/modules.xml
DELETED
package/.idea/sdk-v4.iml
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$" />
|
|
6
|
-
<orderEntry type="inheritedJdk" />
|
|
7
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
-
</component>
|
|
9
|
-
</module>
|