@integry/sdk 4.6.32 → 4.6.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integry/sdk",
3
- "version": "4.6.32",
3
+ "version": "4.6.33",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -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}">${flow.name}</div>
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;
@@ -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
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager">
4
- <output url="file://$PROJECT_DIR$/out" />
5
- </component>
6
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/sdk-v4.iml" filepath="$PROJECT_DIR$/.idea/sdk-v4.iml" />
6
- </modules>
7
- </component>
8
- </project>
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>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
- </component>
6
- </project>