aiware-js 1.0.0-master.1239 → 1.0.0-master.1240

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/index.esm.css CHANGED
@@ -288,98 +288,6 @@
288
288
  background-color: #fff;
289
289
  }
290
290
 
291
- /* dosis-200normal - latin */
292
- @font-face {
293
- font-family: 'Dosis';
294
- font-style: normal;
295
- font-display: swap;
296
- font-weight: 200;
297
- src:
298
- local('Dosis Extra Light '),
299
- local('Dosis-Extra Light'),
300
- url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
301
- url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
302
- }
303
-
304
- /* dosis-300normal - latin */
305
- @font-face {
306
- font-family: 'Dosis';
307
- font-style: normal;
308
- font-display: swap;
309
- font-weight: 300;
310
- src:
311
- local('Dosis Light '),
312
- local('Dosis-Light'),
313
- url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
314
- url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
315
- }
316
-
317
- /* dosis-400normal - latin */
318
- @font-face {
319
- font-family: 'Dosis';
320
- font-style: normal;
321
- font-display: swap;
322
- font-weight: 400;
323
- src:
324
- local('Dosis Regular '),
325
- local('Dosis-Regular'),
326
- url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
327
- url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
328
- }
329
-
330
- /* dosis-500normal - latin */
331
- @font-face {
332
- font-family: 'Dosis';
333
- font-style: normal;
334
- font-display: swap;
335
- font-weight: 500;
336
- src:
337
- local('Dosis Medium '),
338
- local('Dosis-Medium'),
339
- url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
340
- url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
341
- }
342
-
343
- /* dosis-600normal - latin */
344
- @font-face {
345
- font-family: 'Dosis';
346
- font-style: normal;
347
- font-display: swap;
348
- font-weight: 600;
349
- src:
350
- local('Dosis SemiBold '),
351
- local('Dosis-SemiBold'),
352
- url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
353
- url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
354
- }
355
-
356
- /* dosis-700normal - latin */
357
- @font-face {
358
- font-family: 'Dosis';
359
- font-style: normal;
360
- font-display: swap;
361
- font-weight: 700;
362
- src:
363
- local('Dosis Bold '),
364
- local('Dosis-Bold'),
365
- url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
366
- url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
367
- }
368
-
369
- /* dosis-800normal - latin */
370
- @font-face {
371
- font-family: 'Dosis';
372
- font-style: normal;
373
- font-display: swap;
374
- font-weight: 800;
375
- src:
376
- local('Dosis ExtraBold '),
377
- local('Dosis-ExtraBold'),
378
- url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
379
- url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
380
- }
381
-
382
-
383
291
  /* nunito-200normal - latin */
384
292
  @font-face {
385
293
  font-family: 'Nunito';
@@ -563,6 +471,98 @@
563
471
  }
564
472
 
565
473
 
474
+ /* dosis-200normal - latin */
475
+ @font-face {
476
+ font-family: 'Dosis';
477
+ font-style: normal;
478
+ font-display: swap;
479
+ font-weight: 200;
480
+ src:
481
+ local('Dosis Extra Light '),
482
+ local('Dosis-Extra Light'),
483
+ url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
484
+ url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
485
+ }
486
+
487
+ /* dosis-300normal - latin */
488
+ @font-face {
489
+ font-family: 'Dosis';
490
+ font-style: normal;
491
+ font-display: swap;
492
+ font-weight: 300;
493
+ src:
494
+ local('Dosis Light '),
495
+ local('Dosis-Light'),
496
+ url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
497
+ url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
498
+ }
499
+
500
+ /* dosis-400normal - latin */
501
+ @font-face {
502
+ font-family: 'Dosis';
503
+ font-style: normal;
504
+ font-display: swap;
505
+ font-weight: 400;
506
+ src:
507
+ local('Dosis Regular '),
508
+ local('Dosis-Regular'),
509
+ url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
510
+ url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
511
+ }
512
+
513
+ /* dosis-500normal - latin */
514
+ @font-face {
515
+ font-family: 'Dosis';
516
+ font-style: normal;
517
+ font-display: swap;
518
+ font-weight: 500;
519
+ src:
520
+ local('Dosis Medium '),
521
+ local('Dosis-Medium'),
522
+ url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
523
+ url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
524
+ }
525
+
526
+ /* dosis-600normal - latin */
527
+ @font-face {
528
+ font-family: 'Dosis';
529
+ font-style: normal;
530
+ font-display: swap;
531
+ font-weight: 600;
532
+ src:
533
+ local('Dosis SemiBold '),
534
+ local('Dosis-SemiBold'),
535
+ url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
536
+ url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
537
+ }
538
+
539
+ /* dosis-700normal - latin */
540
+ @font-face {
541
+ font-family: 'Dosis';
542
+ font-style: normal;
543
+ font-display: swap;
544
+ font-weight: 700;
545
+ src:
546
+ local('Dosis Bold '),
547
+ local('Dosis-Bold'),
548
+ url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
549
+ url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
550
+ }
551
+
552
+ /* dosis-800normal - latin */
553
+ @font-face {
554
+ font-family: 'Dosis';
555
+ font-style: normal;
556
+ font-display: swap;
557
+ font-weight: 800;
558
+ src:
559
+ local('Dosis ExtraBold '),
560
+ local('Dosis-ExtraBold'),
561
+ url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
562
+ url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
563
+ }
564
+
565
+
566
566
  /*!
567
567
  * Cropper.js v1.5.9
568
568
  * https://fengyuanchen.github.io/cropperjs
package/index.esm.css.gz CHANGED
Binary file
package/index.esm.min.css CHANGED
@@ -288,98 +288,6 @@
288
288
  background-color: #fff;
289
289
  }
290
290
 
291
- /* dosis-200normal - latin */
292
- @font-face {
293
- font-family: 'Dosis';
294
- font-style: normal;
295
- font-display: swap;
296
- font-weight: 200;
297
- src:
298
- local('Dosis Extra Light '),
299
- local('Dosis-Extra Light'),
300
- url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
301
- url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
302
- }
303
-
304
- /* dosis-300normal - latin */
305
- @font-face {
306
- font-family: 'Dosis';
307
- font-style: normal;
308
- font-display: swap;
309
- font-weight: 300;
310
- src:
311
- local('Dosis Light '),
312
- local('Dosis-Light'),
313
- url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
314
- url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
315
- }
316
-
317
- /* dosis-400normal - latin */
318
- @font-face {
319
- font-family: 'Dosis';
320
- font-style: normal;
321
- font-display: swap;
322
- font-weight: 400;
323
- src:
324
- local('Dosis Regular '),
325
- local('Dosis-Regular'),
326
- url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
327
- url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
328
- }
329
-
330
- /* dosis-500normal - latin */
331
- @font-face {
332
- font-family: 'Dosis';
333
- font-style: normal;
334
- font-display: swap;
335
- font-weight: 500;
336
- src:
337
- local('Dosis Medium '),
338
- local('Dosis-Medium'),
339
- url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
340
- url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
341
- }
342
-
343
- /* dosis-600normal - latin */
344
- @font-face {
345
- font-family: 'Dosis';
346
- font-style: normal;
347
- font-display: swap;
348
- font-weight: 600;
349
- src:
350
- local('Dosis SemiBold '),
351
- local('Dosis-SemiBold'),
352
- url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
353
- url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
354
- }
355
-
356
- /* dosis-700normal - latin */
357
- @font-face {
358
- font-family: 'Dosis';
359
- font-style: normal;
360
- font-display: swap;
361
- font-weight: 700;
362
- src:
363
- local('Dosis Bold '),
364
- local('Dosis-Bold'),
365
- url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
366
- url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
367
- }
368
-
369
- /* dosis-800normal - latin */
370
- @font-face {
371
- font-family: 'Dosis';
372
- font-style: normal;
373
- font-display: swap;
374
- font-weight: 800;
375
- src:
376
- local('Dosis ExtraBold '),
377
- local('Dosis-ExtraBold'),
378
- url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
379
- url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
380
- }
381
-
382
-
383
291
  /* nunito-200normal - latin */
384
292
  @font-face {
385
293
  font-family: 'Nunito';
@@ -563,6 +471,98 @@
563
471
  }
564
472
 
565
473
 
474
+ /* dosis-200normal - latin */
475
+ @font-face {
476
+ font-family: 'Dosis';
477
+ font-style: normal;
478
+ font-display: swap;
479
+ font-weight: 200;
480
+ src:
481
+ local('Dosis Extra Light '),
482
+ local('Dosis-Extra Light'),
483
+ url('./files/dosis-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
484
+ url('./files/dosis-latin-200.woff') format('woff'); /* Modern Browsers */
485
+ }
486
+
487
+ /* dosis-300normal - latin */
488
+ @font-face {
489
+ font-family: 'Dosis';
490
+ font-style: normal;
491
+ font-display: swap;
492
+ font-weight: 300;
493
+ src:
494
+ local('Dosis Light '),
495
+ local('Dosis-Light'),
496
+ url('./files/dosis-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
497
+ url('./files/dosis-latin-300.woff') format('woff'); /* Modern Browsers */
498
+ }
499
+
500
+ /* dosis-400normal - latin */
501
+ @font-face {
502
+ font-family: 'Dosis';
503
+ font-style: normal;
504
+ font-display: swap;
505
+ font-weight: 400;
506
+ src:
507
+ local('Dosis Regular '),
508
+ local('Dosis-Regular'),
509
+ url('./files/dosis-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
510
+ url('./files/dosis-latin-400.woff') format('woff'); /* Modern Browsers */
511
+ }
512
+
513
+ /* dosis-500normal - latin */
514
+ @font-face {
515
+ font-family: 'Dosis';
516
+ font-style: normal;
517
+ font-display: swap;
518
+ font-weight: 500;
519
+ src:
520
+ local('Dosis Medium '),
521
+ local('Dosis-Medium'),
522
+ url('./files/dosis-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
523
+ url('./files/dosis-latin-500.woff') format('woff'); /* Modern Browsers */
524
+ }
525
+
526
+ /* dosis-600normal - latin */
527
+ @font-face {
528
+ font-family: 'Dosis';
529
+ font-style: normal;
530
+ font-display: swap;
531
+ font-weight: 600;
532
+ src:
533
+ local('Dosis SemiBold '),
534
+ local('Dosis-SemiBold'),
535
+ url('./files/dosis-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
536
+ url('./files/dosis-latin-600.woff') format('woff'); /* Modern Browsers */
537
+ }
538
+
539
+ /* dosis-700normal - latin */
540
+ @font-face {
541
+ font-family: 'Dosis';
542
+ font-style: normal;
543
+ font-display: swap;
544
+ font-weight: 700;
545
+ src:
546
+ local('Dosis Bold '),
547
+ local('Dosis-Bold'),
548
+ url('./files/dosis-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
549
+ url('./files/dosis-latin-700.woff') format('woff'); /* Modern Browsers */
550
+ }
551
+
552
+ /* dosis-800normal - latin */
553
+ @font-face {
554
+ font-family: 'Dosis';
555
+ font-style: normal;
556
+ font-display: swap;
557
+ font-weight: 800;
558
+ src:
559
+ local('Dosis ExtraBold '),
560
+ local('Dosis-ExtraBold'),
561
+ url('./files/dosis-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
562
+ url('./files/dosis-latin-800.woff') format('woff'); /* Modern Browsers */
563
+ }
564
+
565
+
566
566
  /*!
567
567
  * Cropper.js v1.5.9
568
568
  * https://fengyuanchen.github.io/cropperjs
Binary file
package/js-core.esm18.js CHANGED
@@ -1 +1 @@
1
- import{ao as unmountPanel$1,a1 as hidePanel$1,e9 as unmountAllPanel$1,ea as getUniqueID,ap as mountPanel$1,bO as AvailableWidgets,bM as updatePanelMicroFrontendProps,bN as setData,eb as mountWidget,ec as unmountWidget,ed as updateTokenRequest,b5 as logout,ee as updateActivityStatus,ef as HelpCenter,B as takeEvery$1,eg as mountPanelForResponse$1,eh as DataCenter,C as select}from"./js-core.esm.js";import{setCustomKnowledgeBaseUrl,setCustomDocsUrl,updateSelectedTab}from"./js-core.esm19.js";import"./js-core.esm4.js";import"./js-core.esm6.js";class RateLimiter{constructor(){this.lastCall=null}checkIfCanCall(e=1){return e<1&&(e=1),(!this.lastCall||(new Date).getTime()-this.lastCall>=6e4*e)&&(this.lastCall=(new Date).getTime(),!0)}}const rateLimiter=new RateLimiter,createAuthHelpers=t=>({updateToken(e){e?t.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{t.dispatch(logout())},1e3)):t.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&t.dispatch(updateActivityStatus())}}),helpCenter=()=>{var e=new HelpCenter({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}},dataCenter=()=>{var e=new DataCenter;return{openImporterPanel:e.openImporterPanel.bind(e)}},unmountPanel=t=>e=>(t.dispatch(unmountPanel$1(e)),!0),hidePanel=t=>e=>(t.dispatch(hidePanel$1(e)),!0),unmountAllPanel=e=>()=>{e.dispatch(unmountAllPanel$1(""))},mountPanel=l=>(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:a}=e;l.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:a}));const o=[...(null==(e=null==a?void 0:a.header)?void 0:e.actions)||[],...(null==(e=null==a?void 0:a.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);a={id:n,sagas:[function*(){yield takeEvery$1(o.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return l.addModule(a),n},mountPanelForResponse=t=>e=>mountPanelForResponse$1(e,t),attachSdkToWindow=e=>{var{init:e,store:t,aiwareEvents:n,bootstrapOptions:a}=e;!window||void 0!==window.aiware&&0!==Object.keys(window.aiware).length||(window.aiware={init:e,store:t,auth:createAuthHelpers(t),helpCenter:helpCenter(),dataCenter:dataCenter(),on:n.on,off:n.off,hidePanel:hidePanel(t),unmountPanel:unmountPanel(t),mountPanel:mountPanel(t),mountPanelForResponse:mountPanelForResponse(t),registry:a.registry,registryLookup:a.registryLookup,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,unmountWidget:unmountWidget,commit:"23e735d001"})};export{attachSdkToWindow,hidePanel,mountPanel,unmountAllPanel,unmountPanel};
1
+ import{ao as unmountPanel$1,a1 as hidePanel$1,e9 as unmountAllPanel$1,ea as getUniqueID,ap as mountPanel$1,bO as AvailableWidgets,bM as updatePanelMicroFrontendProps,bN as setData,eb as mountWidget,ec as unmountWidget,ed as updateTokenRequest,b5 as logout,ee as updateActivityStatus,ef as HelpCenter,B as takeEvery$1,eg as mountPanelForResponse$1,eh as DataCenter,C as select}from"./js-core.esm.js";import{setCustomKnowledgeBaseUrl,setCustomDocsUrl,updateSelectedTab}from"./js-core.esm19.js";import"./js-core.esm4.js";import"./js-core.esm6.js";class RateLimiter{constructor(){this.lastCall=null}checkIfCanCall(e=1){return e<1&&(e=1),(!this.lastCall||(new Date).getTime()-this.lastCall>=6e4*e)&&(this.lastCall=(new Date).getTime(),!0)}}const rateLimiter=new RateLimiter,createAuthHelpers=t=>({updateToken(e){e?t.dispatch(updateTokenRequest({token:e})):console.error("[AiWARE JS]: Please provide a valid token!")},logout(e){"function"==typeof e?(e(),setTimeout(()=>{t.dispatch(logout())},1e3)):t.dispatch(logout())},reportAppActivity(e){rateLimiter.checkIfCanCall(e)&&t.dispatch(updateActivityStatus())}}),helpCenter=()=>{var e=new HelpCenter({actions:{setCustomKnowledgeBaseUrlAction:setCustomKnowledgeBaseUrl,setCustomDocsUrlAction:setCustomDocsUrl,updateSelectedTabAction:updateSelectedTab}});return{openKnowledgeBasePanel:e.openKnowledgeBasePanel.bind(e),openDocsPanel:e.openDocsPanel.bind(e)}},dataCenter=()=>{var e=new DataCenter;return{openImporterPanel:e.openImporterPanel.bind(e)}},unmountPanel=t=>e=>(t.dispatch(unmountPanel$1(e)),!0),hidePanel=t=>e=>(t.dispatch(hidePanel$1(e)),!0),unmountAllPanel=e=>()=>{e.dispatch(unmountAllPanel$1(""))},mountPanel=l=>(e,t)=>{const n=e.panelId||getUniqueID();var{microFrontend:e,panelConfig:a}=e;l.dispatch(mountPanel$1({microFrontend:e,panelId:n,panelConfig:a}));const o=[...(null==(e=null==a?void 0:a.header)?void 0:e.actions)||[],...(null==(e=null==a?void 0:a.footer)?void 0:e.actions)||[]].filter(e=>e.submit).map(e=>e.action);a={id:n,sagas:[function*(){yield takeEvery$1(o.map(e=>e.type),function*(){var e=(yield select(e=>e.data.find(e=>e.id===n)))["data"];t&&t(e)})}]};return l.addModule(a),n},mountPanelForResponse=t=>e=>mountPanelForResponse$1(e,t),attachSdkToWindow=e=>{var{init:e,store:t,aiwareEvents:n,bootstrapOptions:a}=e;!window||void 0!==window.aiware&&0!==Object.keys(window.aiware).length||(window.aiware={init:e,store:t,auth:createAuthHelpers(t),helpCenter:helpCenter(),dataCenter:dataCenter(),on:n.on,off:n.off,hidePanel:hidePanel(t),unmountPanel:unmountPanel(t),mountPanel:mountPanel(t),mountPanelForResponse:mountPanelForResponse(t),registry:a.registry,registryLookup:a.registryLookup,AvailableWidgets:AvailableWidgets,mountPanelAction:mountPanel$1,unmountPanelAction:unmountPanel$1,hidePanelAction:hidePanel$1,updatePanelMicroFrontendPropsAction:updatePanelMicroFrontendProps,setData:setData,mountWidget:mountWidget,unmountWidget:unmountWidget,commit:"ea5aa9c4d5"})};export{attachSdkToWindow,hidePanel,mountPanel,unmountAllPanel,unmountPanel};
Binary file
package/js-core.esm30.js CHANGED
@@ -2,7 +2,7 @@ import{j as jsxRuntime,x as createAction,y as createReducer,X as createSlice,eo
2
2
  ${n?t.disabledButton:""}
3
3
  ${e.showAdditionalOptionButton?t.marginRight:""} `+(e.automateFullScreen?t.btnWidthAdvanceDisabled:""),onClick:()=>e.handleOpenFlowNameDialog("",!1)},{children:SHARED_MESSAGES.newFlow()})),e.enableNotebooks&&"notebooks"===e.screen&&jsxRuntime.exports.jsx(Button,Object.assign({"data-test":"flow-center-header-onCreateNewFlowButton",id:"flow-center-header-onCreateNewFlowButton",variant:"outlined",disabled:n,startIcon:n?jsxRuntime.exports.jsx(CircularProgress,{className:t.loadingBarcontainer}):jsxRuntime.exports.jsx(default_1$7,{className:t.flowIconAdd}),className:`${t.buttonFlowCenterAdvanceDisabled} ${t.buttonAddNew}
4
4
  ${n?t.disabledButton:""}
5
- ${e.showAdditionalOptionButton?t.marginRight:""} `+(e.automateFullScreen?t.btnWidthAdvanceDisabled:""),onClick:()=>e.handleOpenFlowNameDialog("",!0)},{children:SHARED_MESSAGES.newNotebook()}))]}))}const useStyles$4=makeStyles()(e=>({additionalOptionsContainer:{borderLeft:"0.5px solid #D9E2EB!important",paddingLeft:e.spacing(1.6)+"px!important"},additionalOptBtn:{padding:e.spacing(1.6)+"px!important"}}));function HeaderBarControlButtons(e){const t=useStyles$4()["classes"];return e.showAdditionalOptionButton?jsxRuntime.exports.jsxs("div",Object.assign({className:t.additionalOptionsContainer},{children:[e.showFullScreenButton&&jsxRuntime.exports.jsx(Tooltip,Object.assign({title:e.fullScreen?SHARED_MESSAGES.exitFullScreen():SHARED_MESSAGES.enterFullScreen()},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({className:t.additionalOptBtn,"data-test":"flow-center-action-btn-toggleFullScreen",onClick:()=>{e.setFullScreen(!e.fullScreen)},size:"large"},{children:jsxRuntime.exports.jsx("img",{src:e.fullScreen?img$u:img$w,alt:"fullscreen-icon",draggable:"false"})}))})),e.showCollapseButton&&jsxRuntime.exports.jsx(Tooltip,Object.assign({title:SHARED_MESSAGES.closePanel()},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-test":"flow-center-action-btn-closePanel",className:t.additionalOptBtn,onClick:()=>{e.hidePanel&&e.hidePanel()},size:"large"},{children:jsxRuntime.exports.jsx("img",{src:img$19,alt:"collapseicon",draggable:"false"})}))}))]})):jsxRuntime.exports.jsx("div",{})}const useStyles$3=makeStyles()(e=>({root:{backgroundColor:"#FAFAFA",paddingRight:14,display:"flex!important",alignItems:"center!important",paddingLeft:24},headerbarContainer:{position:"fixed!important",width:"inherit!important",zIndex:"99!important","& header":{boxShadow:"none!important"}},headerbarContainerBorder:{borderBottom:"1px solid rgba(0, 0, 0, 0.12)!important"},fullScreenState:{zIndex:"1!important","& header":{boxShadow:"none!important"}},header:{padding:"0px!important"}}));function Headerbar({options:e,handleOpenFlowNameDialog:t,collapseFlowCenter:n,setFullScreen:o,setScreen:r,fullScreen:s,hidePanel:i,zIndex:a,automateFullScreen:l,enableNotebooks:c,screen:u}){const d=useStyles$3()["classes"],[m,p]=react.exports.useState(!1);return jsxRuntime.exports.jsx("div",Object.assign({className:d.headerbarContainer+" "+(l?m?null:d.fullScreenState:d.headerbarContainerBorder),id:"flow-center-headerbar-container","data-test":"flow-center-headerbar-container"},{children:l?jsxRuntime.exports.jsxs(react.exports.Fragment,{children:[jsxRuntime.exports.jsx(HeaderBarSearchBar,{showSearchBar:e.showSearchBar,isFullScreen:s,setScreen:r,automateFullScreen:l,enableNotebooks:c}),jsxRuntime.exports.jsx(HeaderBarButtons,{showAdditionalOptionButton:e.showAdditionalOptionButton,showCreateNewFlow:e.showCreateNewFlow,showNewFromTemplate:e.showNewFromTemplate,isFullScreen:s,handleOpenFlowNameDialog:t,zIndex:a,automateFullScreen:l,openClusterDialog:m,setOpenClusterDialog:p,enableNotebooks:c,screen:u})]}):jsxRuntime.exports.jsx(AppBar,Object.assign({position:"static",color:"transparent",className:d.header},{children:jsxRuntime.exports.jsxs(MuiToolbar,Object.assign({className:d.root},{children:[jsxRuntime.exports.jsx(HeaderBarTitle,{title:e.title}),jsxRuntime.exports.jsx(HeaderBarSearchBar,{showSearchBar:e.showSearchBar,setScreen:r,automateFullScreen:l,enableNotebooks:c}),jsxRuntime.exports.jsx(HeaderBarButtons,{showAdditionalOptionButton:e.showAdditionalOptionButton,showCreateNewFlow:e.showCreateNewFlow,showNewFromTemplate:e.showNewFromTemplate,handleOpenFlowNameDialog:t,zIndex:a,automateFullScreen:l,openClusterDialog:m,setOpenClusterDialog:p,enableNotebooks:c,screen:u}),jsxRuntime.exports.jsx(HeaderBarControlButtons,{showAdditionalOptionButton:e.showAdditionalOptionButton,showFullScreenButton:e.showFullScreenButton,showCollapseButton:e.showCollapseButton,collapseFlowCenter:n,setFullScreen:o,fullScreen:s,hidePanel:i})]}))}))}))}const DEFAULT_FILTERS_FOR_TAB_TEMPLATES=[ENGINE_FILTER_TYPES.TAGS,ENGINE_FILTER_TYPES.CATEGORIES,"author",ENGINE_FILTER_TYPES.PUBLIC],DEFAULT_FILTERS_FOR_TAB_MY_FLOWS=[],DEFAULT_TABS=[ENGINE_OWNER_TYPES.MINE,ENGINE_OWNER_TYPES.TEMPLATES],BETA_TABS=[ENGINE_OWNER_TYPES.NOTEBOOKS],DEFAULT_FILTERS=[ENGINE_FILTER_TYPES.TAGS],ALL_TABS=[{key:ENGINE_OWNER_TYPES.ORGANIZATION,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.organizationcategory",defaultMessage:"My Organization",description:"My Organization Category"}),icon:default_1$4},{key:ENGINE_OWNER_TYPES.MINE,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.orgflows",defaultMessage:"Org Flows",description:"Org Flows Category"}),icon:default_1$2},{key:ENGINE_OWNER_TYPES.SHARED,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.sharedwmecategory",defaultMessage:"Shared w/ me",description:"Shared with me Category"}),icon:default_1$3},{key:ENGINE_OWNER_TYPES.TEMPLATES,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.templatescategory",defaultMessage:"Templates",description:"Templates Category"}),icon:default_1$1},{key:ENGINE_OWNER_TYPES.NOTEBOOKS,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.notebookscategory",defaultMessage:"Notebooks",description:"Noteboks Category"}),icon:default_1$2}],ALL_FILTERS=[{group:ENGINE_FILTER_TYPES.CERTIFIED,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.certified",defaultMessage:"Certified",description:"Flow Center Certified Filter"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.veritonecertified.filter",defaultMessage:"Veritone Certified",description:"Veritone Certified Filter"}),value:"veritone_certified"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.verified",defaultMessage:"Verified Publisher",description:"Verified Publisher filter"}),value:"verified_publisher"}]},{group:ENGINE_FILTER_TYPES.CATEGORIES,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.categories",defaultMessage:"Categories",description:"Flow Center filter Categories"}),options:[]},{group:ENGINE_FILTER_TYPES.INDUSTRIES,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.industries",defaultMessage:"Industries",description:"Flow Center filter Industries"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.hitech",defaultMessage:"Hi Tech",description:"Flow Center filter option value Hi Tech"}),value:"Hi Tech"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.medicine",defaultMessage:"Medicine",description:"Flow Center filter option value Medicine"}),value:"Medicine"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.law",defaultMessage:"Law",description:"Flow Center filter option value Law"}),value:"Law"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.government",defaultMessage:"Government",description:"Flow Center filter option value Government"}),value:"Government"}]},{group:ENGINE_FILTER_TYPES.APPLICATIONS,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.applications",defaultMessage:"Applications",description:"Flow Center filter Applications"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.testapp",defaultMessage:"Test",description:"Flow Center filter option value Test"}),value:"Test"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.speach",defaultMessage:"Speach",description:"Flow Center filter option value Speach"}),value:"Speach"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.videoprocessing",defaultMessage:"Video processing",description:"Flow Center filter option value Video Processing"}),value:"Video processing"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.smssender",defaultMessage:"Sms sender",description:"Flow Center filter option value Sms sender"}),value:"Sms sender"}]},{group:ENGINE_FILTER_TYPES.CLASSES,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.classes",defaultMessage:"Classes",description:"Flow Center filter Classes"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.networkisolated",defaultMessage:"Network isolated",description:"Flow Center filter option value Network Isolated"}),value:"Network isolated"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.publicaccess",defaultMessage:"Public Access",description:"Flow Center filter option value Public Access"}),value:"Public Access"}]},{group:ENGINE_FILTER_TYPES.NOTEWORTHY,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.noteworthy",defaultMessage:"Noteworthy",description:"Flow Center filter Noteworthy"}),options:[]},{group:ENGINE_FILTER_TYPES.TAGS,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.tags",defaultMessage:"Tags",description:"Flow Center filter Tags"}),options:[]},{group:"author",text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.developer",defaultMessage:"Developer",description:"Flow Center filter Developer"}),options:[]},{group:ENGINE_FILTER_TYPES.PRICE,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.price",defaultMessage:"Price",description:"Flow Center filter Price"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.under25",defaultMessage:"Under $25",description:"Flow Center filter option value Under $25"}),value:"Under $25"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.25to50",defaultMessage:"$25 to $50",description:"Flow Center filter option value $25 to $50"}),value:"$25 to $50"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.50to100",defaultMessage:"$50 to $100",description:"Flow Center filter option value $50 to $100"}),value:"$50 to $100"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.100to200",defaultMessage:"$100 to $200",description:"Flow Center filter option value $100 to $200"}),value:"$100 to $200"}]},{group:ENGINE_FILTER_TYPES.PUBLIC,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.tags",defaultMessage:"Type",description:"Flow Center filter Is Public"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.is_public",defaultMessage:"Is Public",description:"Flow Center filter is public option value"}),value:"1"}]}],DEFAULT_GRAPHQL_ENDPOINT="v3/graphql",DEFAULT_CLUSTER="prd5-21xbyq0x-4h0s-o685-snas-oovhdai552v9",useStyles$2=makeStyles()(e=>({container:{minHeight:"calc(100vh - 64px - 64px - 54px)"},contentContainer:{justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},textContainer:{marginTop:26,display:"flex",flexDirection:"column",alignItems:"center"},title:{fontFamily:"Nunito",fontStyle:"normal!important",fontWeight:"normal!important",fontSize:"18px!important",lineHeight:"24px!important",letterSpacing:"-1.30385e-09px!important",color:"#1B1D1F!important"},subtitle:{marginTop:12,fontFamily:"Nunito",fontStyle:"normal!important",fontWeight:600,fontSize:"16px!important",lineHeight:"22px!important",letterSpacing:"-1.30385e-09px!important",color:"#5C6269!important",textAlign:"center"},buttonContainer:{marginTop:30,display:"flex",width:"100%",justifyContent:"space-evenly"},icon:{width:235,height:235},commonBtn:{fontFamily:"Nunito",fontStyle:"normal!important",fontWeight:600,fontSize:"14px!important",lineHeight:"20px!important",letterSpacing:"-1.30385e-09px!important",textTransform:"none",boxSizing:"border-box",borderRadius:"4px",paddingLeft:10,paddingRight:10,"&:hover":{background:"none",backgroundColor:"none"},background:"#FFFFFF",border:"1px solid #1871E8",color:"#1871E8!important"}}));function NoFlowsFound(e){var t=useStyles$2()["classes"];return jsxRuntime.exports.jsx(Grid,Object.assign({container:!0,spacing:0,direction:"column",alignItems:"center",justifyContent:"center",className:t.container},{children:jsxRuntime.exports.jsxs(Grid,Object.assign({item:!0,xs:4,className:t.contentContainer},{children:[jsxRuntime.exports.jsx("img",{className:t.icon,src:img$n,alt:"noFlowsFoundIcon"}),jsxRuntime.exports.jsxs("div",Object.assign({className:t.textContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({className:t.title},{children:SHARED_MESSAGES.noFlowsFound()})),jsxRuntime.exports.jsx(Typography,Object.assign({className:t.subtitle},{children:SHARED_MESSAGES.noFlowsFoundSubtitle()})),jsxRuntime.exports.jsxs(Box,Object.assign({className:t.buttonContainer},{children:[jsxRuntime.exports.jsx(Button,Object.assign({className:t.commonBtn,onClick:()=>e.handleOpenFlowNameDialog("")},{children:SHARED_MESSAGES.createNewFlow()})),jsxRuntime.exports.jsx(Button,Object.assign({className:t.commonBtn,onClick:()=>{e.setScreen(ENGINE_OWNER_TYPES.TEMPLATES)}},{children:SHARED_MESSAGES.chooseATemplate()}))]}))]}))]}))}))}const useStyles$1=makeStyles()(()=>({tabsContainer:{paddingLeft:"18px",borderBottom:"0.5px solid #D5DFE9","& div > span:last-child":{backgroundColor:"black"}},tab:{fontFamily:"Nunito!important",fontWeight:400,fontStyle:"normal !important",fontSize:14,lineHeight:"18px",color:"#2A323C",textTransform:"none"}}));function TabsContainer(e){var t=useStyles$1()["classes"],{selectedTab:n,handleChange:o}=e,r=useSelector(e=>e.flows.flows),s=useSelector(e=>e.flows.notebooks),i=useSelector(e=>e.flows.filteredTemplates)||[],a=useSelector(e=>e.flows.searchedTemplates)||[],l=useSelector(e=>e.flows.isSearching);return jsxRuntime.exports.jsx(AppBar,Object.assign({className:t.tabsContainer,position:"static",color:"transparent",elevation:0},{children:jsxRuntime.exports.jsxs(Tabs,Object.assign({value:n,onChange:o,"aria-label":"search-results-tabs"},{children:[jsxRuntime.exports.jsx(Tab,{id:"flow-center-searchResults-flows","data-test":"flow-center-searchResults-flows",className:t.tab,label:SHARED_MESSAGES.flowsCount(r.length)}),jsxRuntime.exports.jsx(Tab,{id:"flow-center-searchResults-templates","data-test":"flow-center-searchResults-templates",className:t.tab,label:SHARED_MESSAGES.templatesCount((l?a:i).length)}),e.notebookEnabled&&jsxRuntime.exports.jsx(Tab,{id:"flow-center-searchResults-notebooks","data-test":"flow-center-searchResults-notebooks",className:t.tab,label:SHARED_MESSAGES.notebookCount(s.length)})]}))}))}const getContentHeight=()=>{var e=useSelector(e=>e.flows.config.isFullScreen);return useSelector(e=>e.flows.config.automateFullScreen)?"calc(100vh - 64px - 54px)":`calc(100vh - 64px - 64px - ${e?"0px":"62px"})`},getFlowCenterConfig=()=>{return{isFullScreen:useSelector(e=>e.flows.config.isFullScreen),automateFullScreen:useSelector(e=>e.flows.config.automateFullScreen),zIndex:useSelector(e=>e.flows.config.zIndex),graphQLEndpoint:useSelector(e=>e.flows.config.graphQLEndpoint),defaultCluster:useSelector(e=>e.flows.config.defaultCluster)}};function ResultsContainer(n){const{selectedTab:e,selectedFlowId:o,classes:r,allowSetFirstFlowId:s,controllerFlowPath:i}=n,a=useSelector(preferredLanguageSelector)||"en",l=getFlowCenterConfig(),c=useSelector(graphEndpointSelector),u=useSelector(rootApiSelector),d=useSelector(controllerNodeRedImageSelector),m=useSelector(controllerUrlSelector);var t=(e=!1)=>{return""==o?([t=!1]=[e],jsxRuntime.exports.jsx(FlowList,{createFlowTemplate:n.createFlowTemplate,simpleMode:n.simpleMode,selectedFlowId:o,onSelectFlow:n.onSelectFlow,setFirstFlowId:n.setFirstFlowId,screenName:n.screenName,zIndex:l.zIndex,showTitle:!1,setOpenFlowDetails:n.setOpenFlowDetails,setOpenAlwaysUpFlow:n.setOpenAlwaysUpFlow,notebooks:t,betaFeatures:n.betaFeatures})):([t=!1]=[e],jsxRuntime.exports.jsxs("div",Object.assign({className:r.enginesAndFlowWidgetContainer},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:r.enginesContainer},{children:jsxRuntime.exports.jsx(FlowList,{createFlowTemplate:n.createFlowTemplate,simpleMode:""!==o,selectedFlowId:o,setFirstFlowId:e=>{s&&n.setSelectedFlowId(e)},onSelectFlow:e=>{n.scrollContainerToTop(),n.setSelectedFlowId(e),n.setAllowSetFirstFlowId(!1)},screenName:n.screenName,zIndex:l.zIndex,setOpenAlwaysUpFlow:(e,t)=>{n.scrollContainerToTop(),n.setOpenFlowRunningInstances(!1),n.setOpenFlowDetails(!1),t&&n.setSelectedFlowId(t),n.setOpenAlwaysUpFlow(e)},setOpenFlowDetails:e=>{n.setOpenFlowDetails(e)},notebooks:t,betaFeatures:n.betaFeatures})})),jsxRuntime.exports.jsx("div",Object.assign({className:r.flowWidgetContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({className:r.flowWidgetContenet},{children:jsxRuntime.exports.jsx(App$1,Object.assign({},{engineId:o,openFlowRunningInstances:n.openFlowRunningInstances,openAlwaysUpFlow:n.openAlwaysUpFlow,locale:a,openTab:n.openTabFlowWidget,config:{apiRoot:u,graphQLEndpoint:c,controllerUrl:m,defaultCluster:l.defaultCluster,controllerNodeRedImage:d,controllerFlowPath:i},tabs:[IFlowWidgetTabs.Overview,IFlowWidgetTabs.Versions,IFlowWidgetTabs.Activity,IFlowWidgetTabs.DistributionSettings],activityTabs:[IFlowWidgetActivityTabs.Jobs,IFlowWidgetActivityTabs.ScheduledJobs],onExitClicked:()=>{n.setSelectedFlowId(""),n.setOpenFlowRunningInstances(!1),n.setOpenAlwaysUpFlow(!1),n.setOpenFlowDetails(!1)},onDeleteFlow:()=>{setTimeout(()=>{n.setUpdateFlowList(o),n.setSelectedFlowId(""),n.setUpdateFlowList("")},2e3)}}))}))}))]})));var t};return jsxRuntime.exports.jsx(Box,Object.assign({ml:3},{children:0===e?t():1===e?jsxRuntime.exports.jsx(TemplateList,{handleOpenFlowNameDialog:n.handleOpenFlowNameDialog,openFirstTemplate:n.openFirstTemplate,isDeselectedTemplate:n.isDeselectedTemplate,onSelectedTemplate:n.onSelectedTemplate}):t(!0)}))}const useStyles=makeStyles()(e=>({container:{width:"100%",overflowY:"auto"},tabsContainer:{paddingLeft:18,borderBottom:"0.5px solid #D5DFE9","& div > span:last-child":{backgroundColor:"black"}}}));function SearchResultsPage(e){const t=useStyles()["classes"],n=useDispatch(),o=useSelector(e=>e.flows.searched);var r=useSelector(e=>e.flows.isSearchingLoading);const s=useSelector(e=>e.flows.searchedTemplates||[]),i=useSelector(e=>e.flows.filteredTemplates)||[],a=useSelector(e=>e.flows.flows),[l,c]=react.exports.useState(0),u=(react.exports.useEffect(()=>{if(i&&0!==i.length){const t=new RegExp(o,"gi");var e=i.filter(e=>{return t.lastIndex=0,t.test(e.title)});n(setSearchedTemplates(e))}return()=>{n(setSearchedTemplates(null))}},[i,o]),(e,t)=>{c(t)}),d=getContentHeight();return r?jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",className:e.classes.lineItem}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",className:e.classes.lineItem}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",className:e.classes.lineItem})]}):!!s.length||!!a.length?jsxRuntime.exports.jsxs("div",Object.assign({className:t.container,style:{height:d}},{children:[jsxRuntime.exports.jsx(TabsContainer,{selectedTab:l,handleChange:u,notebookEnabled:e.betaFeatures}),jsxRuntime.exports.jsx(ResultsContainer,{createFlowTemplate:e.createFlowTemplate,selectedTab:l,openFlowRunningInstances:e.openFlowRunningInstances,simpleMode:e.simpleMode,selectedFlowId:e.selectedFlowId,onSelectFlow:e.onSelectFlow,setFirstFlowId:e.setFirstFlowId,screenName:e.screenName,handleOpenFlowNameDialog:e.handleOpenFlowNameDialog,openFirstTemplate:e.openFirstTemplate,isDeselectedTemplate:e.isDeselectedTemplate,onSelectedTemplate:e.onSelectedTemplate,classes:e.classes,allowSetFirstFlowId:e.allowSetFirstFlowId,setSelectedFlowId:e.setSelectedFlowId,setOpenFlowRunningInstances:e.setOpenFlowRunningInstances,setOpenFlowDetails:e.setOpenFlowDetails,scrollContainerToTop:e.scrollContainerToTop,setAllowSetFirstFlowId:e.setAllowSetFirstFlowId,openTabFlowWidget:e.openTabFlowWidget,setUpdateFlowList:e.setUpdateFlowList,controllerFlowPath:e.controllerFlowPath,openAlwaysUpFlow:e.openAlwaysUpFlow,setOpenAlwaysUpFlow:e.setOpenAlwaysUpFlow,betaFeatures:e.betaFeatures})]})):jsxRuntime.exports.jsx(NoResults,{})}const namespace="engineDistributionType",initialState={engineDistributionType:"instance_locked"},engineDistributionSlice=createSlice({name:namespace,initialState:initialState,reducers:{engineDistributionTypeAction(e,t){e.engineDistributionType=t.payload}}}),engineDistributionTypeSelector=e=>(null==e?void 0:e[namespace])||null,engineDistributionTypeReducer=(engineDistributionSlice.actions,engineDistributionSlice.reducer),getAvailableClusters=`query getCluster {
5
+ ${e.showAdditionalOptionButton?t.marginRight:""} `+(e.automateFullScreen?t.btnWidthAdvanceDisabled:""),onClick:()=>e.handleOpenFlowNameDialog("",!0)},{children:SHARED_MESSAGES.newNotebook()}))]}))}const useStyles$4=makeStyles()(e=>({additionalOptionsContainer:{borderLeft:"0.5px solid #D9E2EB!important",paddingLeft:e.spacing(1.6)+"px!important"},additionalOptBtn:{padding:e.spacing(1.6)+"px!important"}}));function HeaderBarControlButtons(e){const t=useStyles$4()["classes"];return e.showAdditionalOptionButton?jsxRuntime.exports.jsxs("div",Object.assign({className:t.additionalOptionsContainer},{children:[e.showFullScreenButton&&jsxRuntime.exports.jsx(Tooltip,Object.assign({title:e.fullScreen?SHARED_MESSAGES.exitFullScreen():SHARED_MESSAGES.enterFullScreen()},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({className:t.additionalOptBtn,"data-test":"flow-center-action-btn-toggleFullScreen",onClick:()=>{e.setFullScreen(!e.fullScreen)},size:"large"},{children:jsxRuntime.exports.jsx("img",{src:e.fullScreen?img$u:img$w,alt:"fullscreen-icon",draggable:"false"})}))})),e.showCollapseButton&&jsxRuntime.exports.jsx(Tooltip,Object.assign({title:SHARED_MESSAGES.closePanel()},{children:jsxRuntime.exports.jsx(IconButton,Object.assign({"data-test":"flow-center-action-btn-closePanel",className:t.additionalOptBtn,onClick:()=>{e.hidePanel&&e.hidePanel()},size:"large"},{children:jsxRuntime.exports.jsx("img",{src:img$19,alt:"collapseicon",draggable:"false"})}))}))]})):jsxRuntime.exports.jsx("div",{})}const useStyles$3=makeStyles()(e=>({root:{backgroundColor:"#FAFAFA",paddingRight:14,display:"flex!important",alignItems:"center!important",paddingLeft:24},headerbarContainer:{position:"fixed!important",width:"inherit!important",zIndex:"99!important","& header":{boxShadow:"none!important"}},headerbarContainerBorder:{borderBottom:"1px solid rgba(0, 0, 0, 0.12)!important"},fullScreenState:{zIndex:"1!important","& header":{boxShadow:"none!important"}},header:{padding:"0px!important"}}));function Headerbar({options:e,handleOpenFlowNameDialog:t,collapseFlowCenter:n,setFullScreen:o,setScreen:r,fullScreen:s,hidePanel:i,zIndex:a,automateFullScreen:l,enableNotebooks:c,screen:u}){const d=useStyles$3()["classes"],[m,p]=react.exports.useState(!1);return jsxRuntime.exports.jsx("div",Object.assign({className:d.headerbarContainer+" "+(l?m?null:d.fullScreenState:d.headerbarContainerBorder),id:"flow-center-headerbar-container","data-test":"flow-center-headerbar-container"},{children:l?jsxRuntime.exports.jsxs(react.exports.Fragment,{children:[jsxRuntime.exports.jsx(HeaderBarSearchBar,{showSearchBar:e.showSearchBar,isFullScreen:s,setScreen:r,automateFullScreen:l,enableNotebooks:c}),jsxRuntime.exports.jsx(HeaderBarButtons,{showAdditionalOptionButton:e.showAdditionalOptionButton,showCreateNewFlow:e.showCreateNewFlow,showNewFromTemplate:e.showNewFromTemplate,isFullScreen:s,handleOpenFlowNameDialog:t,zIndex:a,automateFullScreen:l,openClusterDialog:m,setOpenClusterDialog:p,enableNotebooks:c,screen:u})]}):jsxRuntime.exports.jsx(AppBar,Object.assign({position:"static",color:"transparent",className:d.header},{children:jsxRuntime.exports.jsxs(MuiToolbar,Object.assign({className:d.root},{children:[jsxRuntime.exports.jsx(HeaderBarTitle,{title:e.title}),jsxRuntime.exports.jsx(HeaderBarSearchBar,{showSearchBar:e.showSearchBar,setScreen:r,automateFullScreen:l,enableNotebooks:c}),jsxRuntime.exports.jsx(HeaderBarButtons,{showAdditionalOptionButton:e.showAdditionalOptionButton,showCreateNewFlow:e.showCreateNewFlow,showNewFromTemplate:e.showNewFromTemplate,handleOpenFlowNameDialog:t,zIndex:a,automateFullScreen:l,openClusterDialog:m,setOpenClusterDialog:p,enableNotebooks:c,screen:u}),jsxRuntime.exports.jsx(HeaderBarControlButtons,{showAdditionalOptionButton:e.showAdditionalOptionButton,showFullScreenButton:e.showFullScreenButton,showCollapseButton:e.showCollapseButton,collapseFlowCenter:n,setFullScreen:o,fullScreen:s,hidePanel:i})]}))}))}))}const DEFAULT_FILTERS_FOR_TAB_TEMPLATES=[ENGINE_FILTER_TYPES.TAGS,ENGINE_FILTER_TYPES.CATEGORIES,"author",ENGINE_FILTER_TYPES.PUBLIC],DEFAULT_FILTERS_FOR_TAB_MY_FLOWS=[],DEFAULT_TABS=[ENGINE_OWNER_TYPES.MINE,ENGINE_OWNER_TYPES.TEMPLATES],BETA_TABS=[ENGINE_OWNER_TYPES.NOTEBOOKS],DEFAULT_FILTERS=[ENGINE_FILTER_TYPES.TAGS],ALL_TABS=[{key:ENGINE_OWNER_TYPES.ORGANIZATION,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.organizationcategory",defaultMessage:"My Organization",description:"My Organization Category"}),icon:default_1$4},{key:ENGINE_OWNER_TYPES.MINE,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.orgflows",defaultMessage:"Org Flows",description:"Org Flows Category"}),icon:default_1$2},{key:ENGINE_OWNER_TYPES.SHARED,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.sharedwmecategory",defaultMessage:"Shared w/ me",description:"Shared with me Category"}),icon:default_1$3},{key:ENGINE_OWNER_TYPES.TEMPLATES,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.templatescategory",defaultMessage:"Templates",description:"Templates Category"}),icon:default_1$1},{key:ENGINE_OWNER_TYPES.NOTEBOOKS,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.notebookscategory",defaultMessage:"Notebooks",description:"Noteboks Category"}),icon:default_1$2}],ALL_FILTERS=[{group:ENGINE_FILTER_TYPES.CERTIFIED,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.certified",defaultMessage:"Certified",description:"Flow Center Certified Filter"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.veritonecertified.filter",defaultMessage:"Veritone Certified",description:"Veritone Certified Filter"}),value:"veritone_certified"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.verified",defaultMessage:"Verified Publisher",description:"Verified Publisher filter"}),value:"verified_publisher"}]},{group:ENGINE_FILTER_TYPES.CATEGORIES,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.categories",defaultMessage:"Categories",description:"Flow Center filter Categories"}),options:[]},{group:ENGINE_FILTER_TYPES.INDUSTRIES,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.industries",defaultMessage:"Industries",description:"Flow Center filter Industries"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.hitech",defaultMessage:"Hi Tech",description:"Flow Center filter option value Hi Tech"}),value:"Hi Tech"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.medicine",defaultMessage:"Medicine",description:"Flow Center filter option value Medicine"}),value:"Medicine"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.law",defaultMessage:"Law",description:"Flow Center filter option value Law"}),value:"Law"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.government",defaultMessage:"Government",description:"Flow Center filter option value Government"}),value:"Government"}]},{group:ENGINE_FILTER_TYPES.APPLICATIONS,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.applications",defaultMessage:"Applications",description:"Flow Center filter Applications"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.testapp",defaultMessage:"Test",description:"Flow Center filter option value Test"}),value:"Test"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.speach",defaultMessage:"Speach",description:"Flow Center filter option value Speach"}),value:"Speach"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.videoprocessing",defaultMessage:"Video processing",description:"Flow Center filter option value Video Processing"}),value:"Video processing"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.smssender",defaultMessage:"Sms sender",description:"Flow Center filter option value Sms sender"}),value:"Sms sender"}]},{group:ENGINE_FILTER_TYPES.CLASSES,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.classes",defaultMessage:"Classes",description:"Flow Center filter Classes"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.networkisolated",defaultMessage:"Network isolated",description:"Flow Center filter option value Network Isolated"}),value:"Network isolated"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.publicaccess",defaultMessage:"Public Access",description:"Flow Center filter option value Public Access"}),value:"Public Access"}]},{group:ENGINE_FILTER_TYPES.NOTEWORTHY,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.noteworthy",defaultMessage:"Noteworthy",description:"Flow Center filter Noteworthy"}),options:[]},{group:ENGINE_FILTER_TYPES.TAGS,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.tags",defaultMessage:"Tags",description:"Flow Center filter Tags"}),options:[]},{group:"author",text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.developer",defaultMessage:"Developer",description:"Flow Center filter Developer"}),options:[]},{group:ENGINE_FILTER_TYPES.PRICE,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.price",defaultMessage:"Price",description:"Flow Center filter Price"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.under25",defaultMessage:"Under $25",description:"Flow Center filter option value Under $25"}),value:"Under $25"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.25to50",defaultMessage:"$25 to $50",description:"Flow Center filter option value $25 to $50"}),value:"$25 to $50"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.50to100",defaultMessage:"$50 to $100",description:"Flow Center filter option value $50 to $100"}),value:"$50 to $100"},{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.100to200",defaultMessage:"$100 to $200",description:"Flow Center filter option value $100 to $200"}),value:"$100 to $200"}]},{group:ENGINE_FILTER_TYPES.PUBLIC,text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.tags",defaultMessage:"Type",description:"Flow Center filter Is Public"}),options:[{text:jsxRuntime.exports.jsx(FormattedMessage,{id:"os-flow-center.is_public",defaultMessage:"Is Public",description:"Flow Center filter is public option value"}),value:"1"}]}],DEFAULT_GRAPHQL_ENDPOINT="v3/graphql",DEFAULT_CLUSTER="prd5-21xbyq0x-4h0s-o685-snas-oovhdai552v9",useStyles$2=makeStyles()(e=>({container:{minHeight:"calc(100vh - 64px - 64px - 54px)"},contentContainer:{justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},textContainer:{marginTop:26,display:"flex",flexDirection:"column",alignItems:"center"},title:{fontFamily:"Nunito",fontStyle:"normal!important",fontWeight:"normal!important",fontSize:"18px!important",lineHeight:"24px!important",letterSpacing:"-1.30385e-09px!important",color:"#1B1D1F!important"},subtitle:{marginTop:12,fontFamily:"Nunito",fontStyle:"normal!important",fontWeight:600,fontSize:"16px!important",lineHeight:"22px!important",letterSpacing:"-1.30385e-09px!important",color:"#5C6269!important",textAlign:"center"},buttonContainer:{marginTop:30,display:"flex",width:"100%",justifyContent:"space-evenly"},icon:{width:235,height:235},commonBtn:{fontFamily:"Nunito",fontStyle:"normal!important",fontWeight:600,fontSize:"14px!important",lineHeight:"20px!important",letterSpacing:"-1.30385e-09px!important",textTransform:"none",boxSizing:"border-box",borderRadius:"4px",paddingLeft:10,paddingRight:10,"&:hover":{background:"none",backgroundColor:"none"},background:"#FFFFFF",border:"1px solid #1871E8",color:"#1871E8!important"}}));function NoFlowsFound(e){var t=useStyles$2()["classes"];return jsxRuntime.exports.jsx(Grid,Object.assign({container:!0,spacing:0,direction:"column",alignItems:"center",justifyContent:"center",className:t.container},{children:jsxRuntime.exports.jsxs(Grid,Object.assign({item:!0,xs:4,className:t.contentContainer},{children:[jsxRuntime.exports.jsx("img",{className:t.icon,src:img$n,alt:"noFlowsFoundIcon"}),jsxRuntime.exports.jsxs("div",Object.assign({className:t.textContainer},{children:[jsxRuntime.exports.jsx(Typography,Object.assign({className:t.title},{children:SHARED_MESSAGES.noFlowsFound()})),jsxRuntime.exports.jsx(Typography,Object.assign({className:t.subtitle},{children:SHARED_MESSAGES.noFlowsFoundSubtitle()})),jsxRuntime.exports.jsxs(Box,Object.assign({className:t.buttonContainer},{children:[jsxRuntime.exports.jsx(Button,Object.assign({className:t.commonBtn,onClick:()=>e.handleOpenFlowNameDialog("")},{children:SHARED_MESSAGES.createNewFlow()})),jsxRuntime.exports.jsx(Button,Object.assign({className:t.commonBtn,onClick:()=>{e.setScreen(ENGINE_OWNER_TYPES.TEMPLATES)}},{children:SHARED_MESSAGES.chooseATemplate()}))]}))]}))]}))}))}const useStyles$1=makeStyles()(()=>({tabsContainer:{paddingLeft:"18px",borderBottom:"0.5px solid #D5DFE9","& div > span:last-child":{backgroundColor:"black"}},tab:{fontFamily:"Nunito!important",fontWeight:400,fontStyle:"normal !important",fontSize:14,lineHeight:"18px",color:"#2A323C",textTransform:"none"}}));function TabsContainer(e){var t=useStyles$1()["classes"],{selectedTab:n,handleChange:o}=e,r=useSelector(e=>e.flows.flows),s=useSelector(e=>e.flows.notebooks),i=useSelector(e=>e.flows.filteredTemplates)||[],a=useSelector(e=>e.flows.searchedTemplates)||[],l=useSelector(e=>e.flows.isSearching);return jsxRuntime.exports.jsx(AppBar,Object.assign({className:t.tabsContainer,position:"static",color:"transparent",elevation:0},{children:jsxRuntime.exports.jsxs(Tabs,Object.assign({value:n,onChange:o,"aria-label":"search-results-tabs"},{children:[jsxRuntime.exports.jsx(Tab,{id:"flow-center-searchResults-flows","data-test":"flow-center-searchResults-flows",className:t.tab,label:SHARED_MESSAGES.flowsCount(r.length)}),jsxRuntime.exports.jsx(Tab,{id:"flow-center-searchResults-templates","data-test":"flow-center-searchResults-templates",className:t.tab,label:SHARED_MESSAGES.templatesCount((l?a:i).length)}),e.notebookEnabled&&jsxRuntime.exports.jsx(Tab,{id:"flow-center-searchResults-notebooks","data-test":"flow-center-searchResults-notebooks",className:t.tab,label:SHARED_MESSAGES.notebookCount(s.length)})]}))}))}const getContentHeight=()=>{var e=useSelector(e=>e.flows.config.isFullScreen);return useSelector(e=>e.flows.config.automateFullScreen)?"calc(100vh - 64px - 54px)":`calc(100vh - 64px - 64px - ${e?"0px":"62px"})`},getFlowCenterConfig=()=>{return{isFullScreen:useSelector(e=>e.flows.config.isFullScreen),automateFullScreen:useSelector(e=>e.flows.config.automateFullScreen),zIndex:useSelector(e=>e.flows.config.zIndex),graphQLEndpoint:useSelector(e=>e.flows.config.graphQLEndpoint),defaultCluster:useSelector(e=>e.flows.config.defaultCluster)}};function ResultsContainer(n){const{selectedTab:e,selectedFlowId:o,classes:r,allowSetFirstFlowId:s,controllerFlowPath:i}=n,a=useSelector(preferredLanguageSelector)||"en",l=getFlowCenterConfig(),c=useSelector(graphEndpointSelector),u=useSelector(rootApiSelector),d=useSelector(controllerNodeRedImageSelector),m=useSelector(controllerUrlSelector);var t=(e=!1)=>{return""==o?([t=!1]=[e],jsxRuntime.exports.jsx(FlowList,{createFlowTemplate:n.createFlowTemplate,simpleMode:n.simpleMode,selectedFlowId:o,onSelectFlow:n.onSelectFlow,setFirstFlowId:n.setFirstFlowId,screenName:n.screenName,zIndex:l.zIndex,showTitle:!1,setOpenFlowDetails:n.setOpenFlowDetails,setOpenAlwaysUpFlow:n.setOpenAlwaysUpFlow,notebooks:t,betaFeatures:n.betaFeatures})):([t=!1]=[e],jsxRuntime.exports.jsxs("div",Object.assign({className:r.enginesAndFlowWidgetContainer},{children:[jsxRuntime.exports.jsx("div",Object.assign({className:r.enginesContainer},{children:jsxRuntime.exports.jsx(FlowList,{createFlowTemplate:n.createFlowTemplate,simpleMode:""!==o,selectedFlowId:o,setFirstFlowId:e=>{s&&n.setSelectedFlowId(e)},onSelectFlow:e=>{n.scrollContainerToTop(),n.setSelectedFlowId(e),n.setAllowSetFirstFlowId(!1)},screenName:n.screenName,zIndex:l.zIndex,setOpenAlwaysUpFlow:(e,t)=>{n.scrollContainerToTop(),n.setOpenFlowRunningInstances(!1),n.setOpenFlowDetails(!1),t&&n.setSelectedFlowId(t),n.setOpenAlwaysUpFlow(e)},setOpenFlowDetails:e=>{n.setOpenFlowDetails(e)},notebooks:t,betaFeatures:n.betaFeatures})})),jsxRuntime.exports.jsx("div",Object.assign({className:r.flowWidgetContainer},{children:jsxRuntime.exports.jsx("div",Object.assign({className:r.flowWidgetContainer},{children:jsxRuntime.exports.jsx(App$1,Object.assign({},{engineId:o,openFlowRunningInstances:n.openFlowRunningInstances,openAlwaysUpFlow:n.openAlwaysUpFlow,locale:a,openTab:n.openTabFlowWidget,config:{apiRoot:u,graphQLEndpoint:c,controllerUrl:m,defaultCluster:l.defaultCluster,controllerNodeRedImage:d,controllerFlowPath:i},tabs:[IFlowWidgetTabs.Overview,IFlowWidgetTabs.Versions,IFlowWidgetTabs.Activity,IFlowWidgetTabs.DistributionSettings],activityTabs:[IFlowWidgetActivityTabs.Jobs,IFlowWidgetActivityTabs.ScheduledJobs],onExitClicked:()=>{n.setSelectedFlowId(""),n.setOpenFlowRunningInstances(!1),n.setOpenAlwaysUpFlow(!1),n.setOpenFlowDetails(!1)},onDeleteFlow:()=>{setTimeout(()=>{n.setUpdateFlowList(o),n.setSelectedFlowId(""),n.setUpdateFlowList("")},2e3)}}))}))}))]})));var t};return jsxRuntime.exports.jsx(Box,Object.assign({ml:3},{children:0===e?t():1===e?jsxRuntime.exports.jsx(TemplateList,{handleOpenFlowNameDialog:n.handleOpenFlowNameDialog,openFirstTemplate:n.openFirstTemplate,isDeselectedTemplate:n.isDeselectedTemplate,onSelectedTemplate:n.onSelectedTemplate}):t(!0)}))}const useStyles=makeStyles()(e=>({container:{width:"100%",overflowY:"auto"},tabsContainer:{paddingLeft:18,borderBottom:"0.5px solid #D5DFE9","& div > span:last-child":{backgroundColor:"black"}}}));function SearchResultsPage(e){const t=useStyles()["classes"],n=useDispatch(),o=useSelector(e=>e.flows.searched);var r=useSelector(e=>e.flows.isSearchingLoading);const s=useSelector(e=>e.flows.searchedTemplates||[]),i=useSelector(e=>e.flows.filteredTemplates)||[],a=useSelector(e=>e.flows.flows),[l,c]=react.exports.useState(0),u=(react.exports.useEffect(()=>{if(i&&0!==i.length){const t=new RegExp(o,"gi");var e=i.filter(e=>{return t.lastIndex=0,t.test(e.title)});n(setSearchedTemplates(e))}return()=>{n(setSearchedTemplates(null))}},[i,o]),(e,t)=>{c(t)}),d=getContentHeight();return r?jsxRuntime.exports.jsxs("div",{children:[jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",className:e.classes.lineItem}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",className:e.classes.lineItem}),jsxRuntime.exports.jsx(Skeleton,{variant:"rectangular",className:e.classes.lineItem})]}):!!s.length||!!a.length?jsxRuntime.exports.jsxs("div",Object.assign({className:t.container,style:{height:d}},{children:[jsxRuntime.exports.jsx(TabsContainer,{selectedTab:l,handleChange:u,notebookEnabled:e.betaFeatures}),jsxRuntime.exports.jsx(ResultsContainer,{createFlowTemplate:e.createFlowTemplate,selectedTab:l,openFlowRunningInstances:e.openFlowRunningInstances,simpleMode:e.simpleMode,selectedFlowId:e.selectedFlowId,onSelectFlow:e.onSelectFlow,setFirstFlowId:e.setFirstFlowId,screenName:e.screenName,handleOpenFlowNameDialog:e.handleOpenFlowNameDialog,openFirstTemplate:e.openFirstTemplate,isDeselectedTemplate:e.isDeselectedTemplate,onSelectedTemplate:e.onSelectedTemplate,classes:e.classes,allowSetFirstFlowId:e.allowSetFirstFlowId,setSelectedFlowId:e.setSelectedFlowId,setOpenFlowRunningInstances:e.setOpenFlowRunningInstances,setOpenFlowDetails:e.setOpenFlowDetails,scrollContainerToTop:e.scrollContainerToTop,setAllowSetFirstFlowId:e.setAllowSetFirstFlowId,openTabFlowWidget:e.openTabFlowWidget,setUpdateFlowList:e.setUpdateFlowList,controllerFlowPath:e.controllerFlowPath,openAlwaysUpFlow:e.openAlwaysUpFlow,setOpenAlwaysUpFlow:e.setOpenAlwaysUpFlow,betaFeatures:e.betaFeatures})]})):jsxRuntime.exports.jsx(NoResults,{})}const namespace="engineDistributionType",initialState={engineDistributionType:"instance_locked"},engineDistributionSlice=createSlice({name:namespace,initialState:initialState,reducers:{engineDistributionTypeAction(e,t){e.engineDistributionType=t.payload}}}),engineDistributionTypeSelector=e=>(null==e?void 0:e[namespace])||null,engineDistributionTypeReducer=(engineDistributionSlice.actions,engineDistributionSlice.reducer),getAvailableClusters=`query getCluster {
6
6
  clusters(edgeVersion: 3, limit: 200, status: online) {
7
7
  records{
8
8
  name
Binary file