@app-studio/web 0.9.24 → 0.9.26
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/components/Background/Background/Background.props.d.ts +49 -0
- package/dist/components/Background/Background/Background.style.d.ts +9 -0
- package/dist/components/Background/Background/Background.type.d.ts +1 -1
- package/dist/components/Background/Background/Background.view.d.ts +2 -1
- package/dist/components/Background/Background.d.ts +1 -0
- package/dist/components/Background/index.d.ts +1 -1
- package/dist/components/ProgressBar/ProgressBar/ProgressBar.props.d.ts +35 -0
- package/dist/components/ProgressBar/ProgressBar/ProgressBar.view.d.ts +4 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.props.d.ts +12 -0
- package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.style.d.ts +10 -0
- package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.type.d.ts +7 -0
- package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.view.d.ts +3 -0
- package/dist/components/StatusIndicator/StatusIndicator.d.ts +3 -0
- package/dist/{hooks → components/adk}/useAdk.d.ts +1 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/pages/progressBar.page.d.ts +3 -0
- package/dist/pages/statusIndicator.page.d.ts +3 -0
- package/dist/web.cjs.development.js +255 -60
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +254 -61
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +255 -60
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/docs/adk-components.md +40 -37
- package/docs/adk-quick-start.md +11 -37
- package/package.json +1 -1
- package/docs/adk-customization-guide.md +0 -204
- package/docs/adk-customization-summary.md +0 -157
- /package/dist/{hooks → components/AudioInput}/useAudioRecording.d.ts +0 -0
|
@@ -18824,13 +18824,7 @@
|
|
|
18824
18824
|
item: item,
|
|
18825
18825
|
views: views
|
|
18826
18826
|
});
|
|
18827
|
-
})
|
|
18828
|
-
style: {
|
|
18829
|
-
fontSize: '10px',
|
|
18830
|
-
opacity: 0.7,
|
|
18831
|
-
padding: '4px'
|
|
18832
|
-
}
|
|
18833
|
-
}, "Placement: ", optimalPosition.placement, relation && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("br", null), "Space: ", relation.space.vertical, "-", relation.space.horizontal)))));
|
|
18827
|
+
}));
|
|
18834
18828
|
};
|
|
18835
18829
|
// DropdownMenu Item component
|
|
18836
18830
|
var DropdownMenuItem = _ref4 => {
|
|
@@ -22678,6 +22672,55 @@
|
|
|
22678
22672
|
};
|
|
22679
22673
|
var Pagination = PaginationComponent;
|
|
22680
22674
|
|
|
22675
|
+
var _excluded$16 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
|
|
22676
|
+
var ProgressBarView = _ref => {
|
|
22677
|
+
var {
|
|
22678
|
+
value = 0,
|
|
22679
|
+
max = 100,
|
|
22680
|
+
color = 'theme.primary',
|
|
22681
|
+
backgroundColor = 'color.gray.200',
|
|
22682
|
+
height = 8,
|
|
22683
|
+
radius = 4,
|
|
22684
|
+
views,
|
|
22685
|
+
themeMode: elementMode
|
|
22686
|
+
} = _ref,
|
|
22687
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
|
|
22688
|
+
var {
|
|
22689
|
+
getColor,
|
|
22690
|
+
themeMode
|
|
22691
|
+
} = appStudio.useTheme();
|
|
22692
|
+
var currentMode = elementMode ? elementMode : themeMode;
|
|
22693
|
+
var percentage = Math.min(100, Math.max(0, value / max * 100));
|
|
22694
|
+
var trackColor = getColor(backgroundColor, {
|
|
22695
|
+
themeMode: currentMode
|
|
22696
|
+
});
|
|
22697
|
+
var barColor = getColor(color, {
|
|
22698
|
+
themeMode: currentMode
|
|
22699
|
+
});
|
|
22700
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
22701
|
+
role: "progressbar",
|
|
22702
|
+
"aria-valuenow": value,
|
|
22703
|
+
"aria-valuemin": 0,
|
|
22704
|
+
"aria-valuemax": max,
|
|
22705
|
+
width: "100%",
|
|
22706
|
+
height: height,
|
|
22707
|
+
backgroundColor: trackColor,
|
|
22708
|
+
borderRadius: radius,
|
|
22709
|
+
overflow: "hidden"
|
|
22710
|
+
}, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
22711
|
+
width: percentage + "%",
|
|
22712
|
+
height: "100%",
|
|
22713
|
+
backgroundColor: barColor,
|
|
22714
|
+
borderRadius: radius
|
|
22715
|
+
}, views == null ? void 0 : views.bar)));
|
|
22716
|
+
};
|
|
22717
|
+
|
|
22718
|
+
/**
|
|
22719
|
+
* ProgressBar component displays completion status of a task or process.
|
|
22720
|
+
*/
|
|
22721
|
+
var ProgressBarComponent = props => (/*#__PURE__*/React__default.createElement(ProgressBarView, Object.assign({}, props)));
|
|
22722
|
+
var ProgressBar = ProgressBarComponent;
|
|
22723
|
+
|
|
22681
22724
|
/**
|
|
22682
22725
|
* Separator Styles
|
|
22683
22726
|
*
|
|
@@ -22724,7 +22767,7 @@
|
|
|
22724
22767
|
}
|
|
22725
22768
|
};
|
|
22726
22769
|
|
|
22727
|
-
var _excluded$
|
|
22770
|
+
var _excluded$17 = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
|
|
22728
22771
|
var SeparatorView = _ref => {
|
|
22729
22772
|
var {
|
|
22730
22773
|
orientation = 'horizontal',
|
|
@@ -22736,7 +22779,7 @@
|
|
|
22736
22779
|
decorative = false,
|
|
22737
22780
|
views
|
|
22738
22781
|
} = _ref,
|
|
22739
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
22782
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
|
|
22740
22783
|
// Access theme if needed for future enhancements
|
|
22741
22784
|
var {
|
|
22742
22785
|
themeMode
|
|
@@ -22804,6 +22847,82 @@
|
|
|
22804
22847
|
var Separator = SeparatorComponent;
|
|
22805
22848
|
var Divider = SeparatorComponent;
|
|
22806
22849
|
|
|
22850
|
+
var getThemes$2 = themeMode => {
|
|
22851
|
+
return {
|
|
22852
|
+
default: {
|
|
22853
|
+
indicator: {
|
|
22854
|
+
backgroundColor: 'color.gray.400'
|
|
22855
|
+
},
|
|
22856
|
+
label: {
|
|
22857
|
+
color: 'color.gray.700'
|
|
22858
|
+
}
|
|
22859
|
+
},
|
|
22860
|
+
info: {
|
|
22861
|
+
indicator: {
|
|
22862
|
+
backgroundColor: 'color.blue.500'
|
|
22863
|
+
},
|
|
22864
|
+
label: {
|
|
22865
|
+
color: 'color.blue.700'
|
|
22866
|
+
}
|
|
22867
|
+
},
|
|
22868
|
+
success: {
|
|
22869
|
+
indicator: {
|
|
22870
|
+
backgroundColor: 'color.green.500'
|
|
22871
|
+
},
|
|
22872
|
+
label: {
|
|
22873
|
+
color: 'color.green.700'
|
|
22874
|
+
}
|
|
22875
|
+
},
|
|
22876
|
+
warning: {
|
|
22877
|
+
indicator: {
|
|
22878
|
+
backgroundColor: 'color.orange.500'
|
|
22879
|
+
},
|
|
22880
|
+
label: {
|
|
22881
|
+
color: 'color.orange.700'
|
|
22882
|
+
}
|
|
22883
|
+
},
|
|
22884
|
+
error: {
|
|
22885
|
+
indicator: {
|
|
22886
|
+
backgroundColor: 'color.red.500'
|
|
22887
|
+
},
|
|
22888
|
+
label: {
|
|
22889
|
+
color: 'color.red.700'
|
|
22890
|
+
}
|
|
22891
|
+
}
|
|
22892
|
+
};
|
|
22893
|
+
};
|
|
22894
|
+
|
|
22895
|
+
var _excluded$18 = ["label", "status", "views", "themeMode"];
|
|
22896
|
+
var StatusIndicatorView = _ref => {
|
|
22897
|
+
var {
|
|
22898
|
+
label,
|
|
22899
|
+
status = 'default',
|
|
22900
|
+
views,
|
|
22901
|
+
themeMode: elementMode
|
|
22902
|
+
} = _ref,
|
|
22903
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
|
|
22904
|
+
var {
|
|
22905
|
+
themeMode
|
|
22906
|
+
} = appStudio.useTheme();
|
|
22907
|
+
var themes = getThemes$2();
|
|
22908
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
|
|
22909
|
+
alignItems: "center",
|
|
22910
|
+
gap: 8,
|
|
22911
|
+
role: "status-indicator"
|
|
22912
|
+
}, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
22913
|
+
role: "status-dot",
|
|
22914
|
+
width: "8px",
|
|
22915
|
+
height: "8px",
|
|
22916
|
+
borderRadius: "50%"
|
|
22917
|
+
}, themes[status].indicator, views == null ? void 0 : views.indicator)), label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
22918
|
+
role: "status-label",
|
|
22919
|
+
fontSize: "14px",
|
|
22920
|
+
lineHeight: "20px"
|
|
22921
|
+
}, themes[status].label, views == null ? void 0 : views.label), label)));
|
|
22922
|
+
};
|
|
22923
|
+
|
|
22924
|
+
var StatusIndicator = props => (/*#__PURE__*/React__default.createElement(StatusIndicatorView, Object.assign({}, props)));
|
|
22925
|
+
|
|
22807
22926
|
var useSidebarState = function useSidebarState(defaultExpanded, expanded, onExpandedChange, breakpoint) {
|
|
22808
22927
|
if (defaultExpanded === void 0) {
|
|
22809
22928
|
defaultExpanded = true;
|
|
@@ -22974,7 +23093,7 @@
|
|
|
22974
23093
|
bounce: 'width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)'
|
|
22975
23094
|
};
|
|
22976
23095
|
|
|
22977
|
-
var _excluded$
|
|
23096
|
+
var _excluded$19 = ["children", "showToggleButton", "views"],
|
|
22978
23097
|
_excluded2$g = ["children", "views"],
|
|
22979
23098
|
_excluded3$a = ["children", "views"],
|
|
22980
23099
|
_excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
|
|
@@ -23007,7 +23126,7 @@
|
|
|
23007
23126
|
showToggleButton = true,
|
|
23008
23127
|
views
|
|
23009
23128
|
} = _ref2,
|
|
23010
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
23129
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$19);
|
|
23011
23130
|
var {
|
|
23012
23131
|
isExpanded,
|
|
23013
23132
|
toggleExpanded,
|
|
@@ -23162,7 +23281,7 @@
|
|
|
23162
23281
|
}))));
|
|
23163
23282
|
};
|
|
23164
23283
|
|
|
23165
|
-
var _excluded$
|
|
23284
|
+
var _excluded$1a = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
|
|
23166
23285
|
/**
|
|
23167
23286
|
* Sidebar component for creating collapsible, themeable and customizable sidebars.
|
|
23168
23287
|
*/
|
|
@@ -23184,7 +23303,7 @@
|
|
|
23184
23303
|
breakpointBehavior = 'overlay',
|
|
23185
23304
|
views
|
|
23186
23305
|
} = _ref,
|
|
23187
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23306
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
|
|
23188
23307
|
var {
|
|
23189
23308
|
isExpanded,
|
|
23190
23309
|
toggleExpanded,
|
|
@@ -23649,7 +23768,7 @@
|
|
|
23649
23768
|
}
|
|
23650
23769
|
};
|
|
23651
23770
|
|
|
23652
|
-
var _excluded$
|
|
23771
|
+
var _excluded$1b = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
|
|
23653
23772
|
_excluded2$h = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
|
|
23654
23773
|
_excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
|
|
23655
23774
|
// Create context for the Resizable component
|
|
@@ -23694,7 +23813,7 @@
|
|
|
23694
23813
|
onCollapseChange,
|
|
23695
23814
|
views
|
|
23696
23815
|
} = _ref2,
|
|
23697
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
23816
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1b);
|
|
23698
23817
|
var {
|
|
23699
23818
|
orientation,
|
|
23700
23819
|
registerPanel,
|
|
@@ -23909,7 +24028,7 @@
|
|
|
23909
24028
|
}, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
|
|
23910
24029
|
};
|
|
23911
24030
|
|
|
23912
|
-
var _excluded$
|
|
24031
|
+
var _excluded$1c = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
|
|
23913
24032
|
/**
|
|
23914
24033
|
* Resizable component for creating resizable panel groups and layouts.
|
|
23915
24034
|
*/
|
|
@@ -23929,7 +24048,7 @@
|
|
|
23929
24048
|
keyboardResizeBy = 10,
|
|
23930
24049
|
views
|
|
23931
24050
|
} = _ref,
|
|
23932
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24051
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
|
|
23933
24052
|
var {
|
|
23934
24053
|
isResizing,
|
|
23935
24054
|
setIsResizing,
|
|
@@ -24697,7 +24816,7 @@
|
|
|
24697
24816
|
color: 'color.gray.500'
|
|
24698
24817
|
};
|
|
24699
24818
|
|
|
24700
|
-
var _excluded$
|
|
24819
|
+
var _excluded$1d = ["value", "onValueChange", "placeholder", "views"],
|
|
24701
24820
|
_excluded2$i = ["children", "views"],
|
|
24702
24821
|
_excluded3$c = ["heading", "children", "views"],
|
|
24703
24822
|
_excluded4$a = ["item", "selected", "onSelect", "views"],
|
|
@@ -24729,7 +24848,7 @@
|
|
|
24729
24848
|
placeholder = 'Type a command or search...',
|
|
24730
24849
|
views
|
|
24731
24850
|
} = _ref2,
|
|
24732
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
24851
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
|
|
24733
24852
|
var inputRef = React.useRef(null);
|
|
24734
24853
|
// Focus input when component mounts
|
|
24735
24854
|
React__default.useEffect(() => {
|
|
@@ -24912,7 +25031,7 @@
|
|
|
24912
25031
|
})))), footer && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
|
|
24913
25032
|
};
|
|
24914
25033
|
|
|
24915
|
-
var _excluded$
|
|
25034
|
+
var _excluded$1e = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
|
|
24916
25035
|
/**
|
|
24917
25036
|
* Command component for displaying a command palette with search functionality.
|
|
24918
25037
|
*/
|
|
@@ -24930,7 +25049,7 @@
|
|
|
24930
25049
|
footer,
|
|
24931
25050
|
views
|
|
24932
25051
|
} = _ref,
|
|
24933
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
25052
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
|
|
24934
25053
|
var {
|
|
24935
25054
|
search,
|
|
24936
25055
|
setSearch,
|
|
@@ -25158,7 +25277,7 @@
|
|
|
25158
25277
|
}
|
|
25159
25278
|
};
|
|
25160
25279
|
|
|
25161
|
-
var _excluded$
|
|
25280
|
+
var _excluded$1f = ["children", "views", "asChild"],
|
|
25162
25281
|
_excluded2$j = ["children", "views"],
|
|
25163
25282
|
_excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
|
|
25164
25283
|
// Create context for the Tooltip
|
|
@@ -25194,7 +25313,7 @@
|
|
|
25194
25313
|
views,
|
|
25195
25314
|
asChild = false
|
|
25196
25315
|
} = _ref2,
|
|
25197
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
25316
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
|
|
25198
25317
|
var {
|
|
25199
25318
|
openTooltip,
|
|
25200
25319
|
closeTooltip,
|
|
@@ -25375,16 +25494,10 @@
|
|
|
25375
25494
|
borderRadius: 4,
|
|
25376
25495
|
boxShadow: "0px 2px 8px rgba(0, 0, 0, 0.15)",
|
|
25377
25496
|
style: positionStyles
|
|
25378
|
-
}, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow))
|
|
25379
|
-
style: {
|
|
25380
|
-
fontSize: '8px',
|
|
25381
|
-
opacity: 0.7,
|
|
25382
|
-
marginTop: '2px'
|
|
25383
|
-
}
|
|
25384
|
-
}, "Placement: ", optimalPosition.placement, relation && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("br", null), "Space: ", relation.space.vertical, "-", relation.space.horizontal)))))));
|
|
25497
|
+
}, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)))));
|
|
25385
25498
|
};
|
|
25386
25499
|
|
|
25387
|
-
var _excluded$
|
|
25500
|
+
var _excluded$1g = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
|
|
25388
25501
|
/**
|
|
25389
25502
|
* Tooltip component for displaying additional information when hovering over an element.
|
|
25390
25503
|
* Supports configurable positions, delays, and styling.
|
|
@@ -25404,7 +25517,7 @@
|
|
|
25404
25517
|
isDisabled = false,
|
|
25405
25518
|
views
|
|
25406
25519
|
} = _ref,
|
|
25407
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
25520
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
|
|
25408
25521
|
var tooltipState = useTooltipState({
|
|
25409
25522
|
defaultOpen,
|
|
25410
25523
|
openDelay,
|
|
@@ -25877,7 +25990,7 @@
|
|
|
25877
25990
|
}
|
|
25878
25991
|
};
|
|
25879
25992
|
|
|
25880
|
-
var _excluded$
|
|
25993
|
+
var _excluded$1h = ["children", "views", "baseId"],
|
|
25881
25994
|
_excluded2$k = ["value", "disabled", "icon", "children", "views", "style", "draggable"],
|
|
25882
25995
|
_excluded3$e = ["children", "onClick", "onToggleExpand", "hasChildren", "expanded", "icon", "disabled", "isSelected", "isDragging", "size", "variant", "views"],
|
|
25883
25996
|
_excluded4$b = ["children", "views"];
|
|
@@ -25913,7 +26026,7 @@
|
|
|
25913
26026
|
baseId
|
|
25914
26027
|
// themeMode, // If 'app-studio' ViewProps supports themeMode
|
|
25915
26028
|
} = _ref2,
|
|
25916
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
26029
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
|
|
25917
26030
|
var {
|
|
25918
26031
|
allowDragAndDrop,
|
|
25919
26032
|
handleDrop,
|
|
@@ -26193,7 +26306,7 @@
|
|
|
26193
26306
|
}))));
|
|
26194
26307
|
};
|
|
26195
26308
|
|
|
26196
|
-
var _excluded$
|
|
26309
|
+
var _excluded$1i = ["children", "items", "size", "variant", "defaultExpandedItems", "expandedItems", "onExpandedItemsChange", "defaultSelectedItem", "selectedItem", "onItemSelect", "multiSelect", "allowDragAndDrop", "dragHandleIcon", "onItemsReorder", "onDragStart", "onDragEnd", "views"];
|
|
26197
26310
|
/**
|
|
26198
26311
|
* Tree component for displaying hierarchical data.
|
|
26199
26312
|
* Supports both compound component pattern (using Tree.Item, Tree.ItemLabel, Tree.ItemContent)
|
|
@@ -26262,7 +26375,7 @@
|
|
|
26262
26375
|
views // Global views configuration
|
|
26263
26376
|
// Remaining ViewProps for the root TreeView container
|
|
26264
26377
|
} = _ref,
|
|
26265
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
26378
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
|
|
26266
26379
|
var treeState = useTreeState({
|
|
26267
26380
|
defaultExpandedItems,
|
|
26268
26381
|
expandedItems,
|
|
@@ -26835,7 +26948,7 @@
|
|
|
26835
26948
|
}
|
|
26836
26949
|
};
|
|
26837
26950
|
|
|
26838
|
-
var _excluded$
|
|
26951
|
+
var _excluded$1j = ["node", "onSelect", "isSelected", "isDragging", "onDragStart", "onDrag", "onDragEnd", "size", "variant", "views"],
|
|
26839
26952
|
_excluded2$l = ["onZoomIn", "onZoomOut", "onReset", "views"],
|
|
26840
26953
|
_excluded3$f = ["onClick", "views"],
|
|
26841
26954
|
_excluded4$c = ["nodes", "edges", "selectedNodeId", "draggedNodeId", "onNodeSelect", "onAddNode", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "views", "baseId", "viewport", "onZoomIn", "onZoomOut", "onReset", "onViewportChange"];
|
|
@@ -26851,7 +26964,7 @@
|
|
|
26851
26964
|
variant = 'default',
|
|
26852
26965
|
views
|
|
26853
26966
|
} = _ref,
|
|
26854
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
26967
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
|
|
26855
26968
|
var handleClick = () => {
|
|
26856
26969
|
if (onSelect) {
|
|
26857
26970
|
onSelect(node.id);
|
|
@@ -27498,7 +27611,7 @@
|
|
|
27498
27611
|
}, "Zoom: ", Math.round(viewport.zoom * 100), "%")));
|
|
27499
27612
|
};
|
|
27500
27613
|
|
|
27501
|
-
var _excluded$
|
|
27614
|
+
var _excluded$1k = ["children", "nodes", "edges", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "onNodesChange", "onEdgesChange", "onNodeSelect", "onNodeAdd", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "selectedNodeId", "initialViewport", "viewport", "onViewportChange", "views"];
|
|
27502
27615
|
/**
|
|
27503
27616
|
* Flow component for creating workflow diagrams.
|
|
27504
27617
|
*
|
|
@@ -27555,7 +27668,7 @@
|
|
|
27555
27668
|
onViewportChange,
|
|
27556
27669
|
views
|
|
27557
27670
|
} = _ref,
|
|
27558
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
27671
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
|
|
27559
27672
|
var flowState = useFlowState({
|
|
27560
27673
|
initialNodes: controlledNodes,
|
|
27561
27674
|
initialEdges: controlledEdges,
|
|
@@ -27729,6 +27842,39 @@
|
|
|
27729
27842
|
zIndex: 2
|
|
27730
27843
|
}
|
|
27731
27844
|
};
|
|
27845
|
+
/**
|
|
27846
|
+
* Background Video styles
|
|
27847
|
+
*/
|
|
27848
|
+
var BackgroundVideoStyles = {
|
|
27849
|
+
container: {
|
|
27850
|
+
position: 'relative',
|
|
27851
|
+
display: 'flex',
|
|
27852
|
+
flexDirection: 'column',
|
|
27853
|
+
alignItems: 'center',
|
|
27854
|
+
justifyContent: 'center',
|
|
27855
|
+
overflow: 'hidden'
|
|
27856
|
+
},
|
|
27857
|
+
video: {
|
|
27858
|
+
position: 'absolute',
|
|
27859
|
+
top: 0,
|
|
27860
|
+
left: 0,
|
|
27861
|
+
width: '100%',
|
|
27862
|
+
height: '100%',
|
|
27863
|
+
objectFit: 'cover'
|
|
27864
|
+
},
|
|
27865
|
+
overlay: {
|
|
27866
|
+
position: 'absolute',
|
|
27867
|
+
top: 0,
|
|
27868
|
+
left: 0,
|
|
27869
|
+
width: '100%',
|
|
27870
|
+
height: '100%',
|
|
27871
|
+
pointerEvents: 'none'
|
|
27872
|
+
},
|
|
27873
|
+
content: {
|
|
27874
|
+
position: 'relative',
|
|
27875
|
+
zIndex: 2
|
|
27876
|
+
}
|
|
27877
|
+
};
|
|
27732
27878
|
|
|
27733
27879
|
/**
|
|
27734
27880
|
* Gradient Styles
|
|
@@ -27891,7 +28037,7 @@
|
|
|
27891
28037
|
}
|
|
27892
28038
|
};
|
|
27893
28039
|
|
|
27894
|
-
var _excluded$
|
|
28040
|
+
var _excluded$1l = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
|
|
27895
28041
|
var GradientView = _ref => {
|
|
27896
28042
|
var {
|
|
27897
28043
|
type = 'linear',
|
|
@@ -27907,7 +28053,7 @@
|
|
|
27907
28053
|
views,
|
|
27908
28054
|
themeMode: elementMode
|
|
27909
28055
|
} = _ref,
|
|
27910
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
28056
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
|
|
27911
28057
|
var {
|
|
27912
28058
|
getColor,
|
|
27913
28059
|
themeMode
|
|
@@ -27983,15 +28129,16 @@
|
|
|
27983
28129
|
return /*#__PURE__*/React__default.createElement(GradientView, Object.assign({}, props));
|
|
27984
28130
|
};
|
|
27985
28131
|
|
|
27986
|
-
var _excluded$
|
|
28132
|
+
var _excluded$1m = ["children", "showRadialGradient", "views", "themeMode"],
|
|
27987
28133
|
_excluded2$m = ["number", "children"],
|
|
27988
28134
|
_excluded3$g = ["rows", "cols", "squareSize"],
|
|
27989
28135
|
_excluded4$d = ["count", "colors", "speed", "shapes"],
|
|
27990
28136
|
_excluded5$6 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
|
|
27991
28137
|
_excluded6$4 = ["rippleCount", "colors", "maxSize", "frequency"],
|
|
27992
28138
|
_excluded7$1 = ["children", "src", "backgroundSize", "backgroundPosition", "backgroundRepeat", "backgroundAttachment", "imageOpacity", "overlay", "blendMode", "views", "themeMode"],
|
|
27993
|
-
_excluded8$1 = ["children"],
|
|
27994
|
-
_excluded9$1 = ["children",
|
|
28139
|
+
_excluded8$1 = ["children", "src", "autoPlay", "loop", "muted", "playsInline", "overlay", "blendMode", "views", "themeMode"],
|
|
28140
|
+
_excluded9$1 = ["children"],
|
|
28141
|
+
_excluded10$1 = ["children", "views"];
|
|
27995
28142
|
// Background Context
|
|
27996
28143
|
var BackgroundContext = /*#__PURE__*/React.createContext({});
|
|
27997
28144
|
/**
|
|
@@ -28003,7 +28150,7 @@
|
|
|
28003
28150
|
showRadialGradient = true,
|
|
28004
28151
|
views
|
|
28005
28152
|
} = _ref,
|
|
28006
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
28153
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
|
|
28007
28154
|
var gradientColors = {
|
|
28008
28155
|
white: 'rgba(255,255,255,1)',
|
|
28009
28156
|
transparent: 'rgba(255,255,255,0)'
|
|
@@ -28414,23 +28561,61 @@
|
|
|
28414
28561
|
style: overlayStyle
|
|
28415
28562
|
}), children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, BackgroundImageStyles.content, views == null ? void 0 : views.content), children)));
|
|
28416
28563
|
};
|
|
28564
|
+
/**
|
|
28565
|
+
* Background Video Component
|
|
28566
|
+
*/
|
|
28567
|
+
var BackgroundVideo = _ref8 => {
|
|
28568
|
+
var {
|
|
28569
|
+
children,
|
|
28570
|
+
src,
|
|
28571
|
+
autoPlay = true,
|
|
28572
|
+
loop = true,
|
|
28573
|
+
muted = true,
|
|
28574
|
+
playsInline = true,
|
|
28575
|
+
overlay,
|
|
28576
|
+
blendMode = 'normal',
|
|
28577
|
+
views,
|
|
28578
|
+
themeMode: elementMode
|
|
28579
|
+
} = _ref8,
|
|
28580
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded8$1);
|
|
28581
|
+
var {
|
|
28582
|
+
getColor
|
|
28583
|
+
} = appStudio.useTheme();
|
|
28584
|
+
var overlayStyle = overlay ? Object.assign({}, BackgroundVideoStyles.overlay, {
|
|
28585
|
+
backgroundColor: getColor(overlay, elementMode ? {
|
|
28586
|
+
themeMode: elementMode
|
|
28587
|
+
} : undefined),
|
|
28588
|
+
mixBlendMode: blendMode
|
|
28589
|
+
}) : {};
|
|
28590
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, BackgroundVideoStyles.container, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
28591
|
+
as: "video",
|
|
28592
|
+
src: src,
|
|
28593
|
+
autoPlay: autoPlay,
|
|
28594
|
+
loop: loop,
|
|
28595
|
+
muted: muted,
|
|
28596
|
+
playsInline: playsInline,
|
|
28597
|
+
style: BackgroundVideoStyles.video
|
|
28598
|
+
}, views == null ? void 0 : views.video)), overlay && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
28599
|
+
style: overlayStyle
|
|
28600
|
+
}, views == null ? void 0 : views.overlay)), children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, BackgroundVideoStyles.content, views == null ? void 0 : views.content), children)));
|
|
28601
|
+
};
|
|
28417
28602
|
/**
|
|
28418
28603
|
* Background Gradient Component
|
|
28419
28604
|
* Uses the existing Gradient component as a background
|
|
28420
28605
|
*/
|
|
28421
|
-
var BackgroundGradient =
|
|
28606
|
+
var BackgroundGradient = _ref9 => {
|
|
28422
28607
|
var {
|
|
28423
28608
|
children
|
|
28424
|
-
} =
|
|
28425
|
-
gradientProps = _objectWithoutPropertiesLoose(
|
|
28609
|
+
} = _ref9,
|
|
28610
|
+
gradientProps = _objectWithoutPropertiesLoose(_ref9, _excluded9$1);
|
|
28426
28611
|
return /*#__PURE__*/React__default.createElement(Gradient, Object.assign({}, gradientProps), children);
|
|
28427
28612
|
};
|
|
28428
|
-
var BackgroundViewBase =
|
|
28613
|
+
var BackgroundViewBase = _ref10 => {
|
|
28429
28614
|
var {
|
|
28430
28615
|
children,
|
|
28431
28616
|
views
|
|
28432
|
-
} =
|
|
28433
|
-
props = _objectWithoutPropertiesLoose(
|
|
28617
|
+
} = _ref10,
|
|
28618
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded10$1);
|
|
28434
28619
|
return /*#__PURE__*/React__default.createElement(BackgroundContext.Provider, {
|
|
28435
28620
|
value: {}
|
|
28436
28621
|
}, /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, DefaultBackgroundStyles.container, views == null ? void 0 : views.container, props), children));
|
|
@@ -28445,6 +28630,7 @@
|
|
|
28445
28630
|
BackgroundView.Grid = Grid;
|
|
28446
28631
|
BackgroundView.Ripples = Ripples;
|
|
28447
28632
|
BackgroundView.Image = BackgroundImage;
|
|
28633
|
+
BackgroundView.Video = BackgroundVideo;
|
|
28448
28634
|
BackgroundView.Gradient = BackgroundGradient;
|
|
28449
28635
|
|
|
28450
28636
|
/**
|
|
@@ -28483,6 +28669,12 @@
|
|
|
28483
28669
|
* </Background.Image>
|
|
28484
28670
|
*
|
|
28485
28671
|
* @example
|
|
28672
|
+
* // Background Video
|
|
28673
|
+
* <Background.Video src="/path/to/video.mp4" overlay="rgba(0,0,0,0.5)">
|
|
28674
|
+
* <Text color="white">Content over video</Text>
|
|
28675
|
+
* </Background.Video>
|
|
28676
|
+
*
|
|
28677
|
+
* @example
|
|
28486
28678
|
* // Background Gradient
|
|
28487
28679
|
* <Background.Gradient from="blue.500" to="purple.500" animate={true}>
|
|
28488
28680
|
* <Text color="white">Content over gradient</Text>
|
|
@@ -28500,6 +28692,7 @@
|
|
|
28500
28692
|
Grid: BackgroundView.Grid,
|
|
28501
28693
|
Ripples: BackgroundView.Ripples,
|
|
28502
28694
|
Image: BackgroundView.Image,
|
|
28695
|
+
Video: BackgroundView.Video,
|
|
28503
28696
|
Gradient: BackgroundView.Gradient
|
|
28504
28697
|
});
|
|
28505
28698
|
Background.displayName = 'Background';
|
|
@@ -28857,7 +29050,7 @@
|
|
|
28857
29050
|
}, step.label))))));
|
|
28858
29051
|
};
|
|
28859
29052
|
|
|
28860
|
-
var _excluded$
|
|
29053
|
+
var _excluded$1n = ["placeholder", "showTimestamps", "showAvatars", "showTypingIndicator", "autoScroll", "enableFileUpload", "enableAudioRecording", "enableVideoRecording", "views", "containerProps", "colorScheme", "compact", "rounded", "ariaLabel", "ariaDescribedBy", "messages", "currentSession", "isLoading", "isTyping", "error", "inputValue", "selectedFiles", "sessionId", "sendMessage", "setInputValue", "handleFileSelect", "removeFile", "messagesEndRef", "setError", "setSelectedFiles"];
|
|
28861
29054
|
/**
|
|
28862
29055
|
* AgentChat View Component
|
|
28863
29056
|
*
|
|
@@ -28897,7 +29090,7 @@
|
|
|
28897
29090
|
setError,
|
|
28898
29091
|
setSelectedFiles
|
|
28899
29092
|
} = _ref,
|
|
28900
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
29093
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
|
|
28901
29094
|
/**
|
|
28902
29095
|
* Auto-scroll to bottom when new messages arrive
|
|
28903
29096
|
*/
|
|
@@ -30038,7 +30231,7 @@
|
|
|
30038
30231
|
}, "Clear all filters")))));
|
|
30039
30232
|
};
|
|
30040
30233
|
|
|
30041
|
-
var _excluded$
|
|
30234
|
+
var _excluded$1o = ["showSessionHistory", "enableSessionImport", "enableSessionExport", "enableSessionDelete", "enableSessionSearch", "showSessionInfo", "showSessionActions", "showCreateButton", "showRefreshButton", "compactMode", "views", "containerProps", "colorScheme", "layout", "showPreviews", "ariaLabel", "ariaDescribedBy", "sessions", "selectedSession", "isLoading", "isCreating", "error", "searchQuery", "filters", "sortOptions", "fetchSessions", "createSession", "selectSession", "deleteSession", "exportSession", "handleFileImport", "setSearchQuery", "setFilters", "setSortOptions", "setError", "fileInputRef", "handleFileSelect"];
|
|
30042
30235
|
/**
|
|
30043
30236
|
* AgentSession View Component
|
|
30044
30237
|
*
|
|
@@ -30086,7 +30279,7 @@
|
|
|
30086
30279
|
fileInputRef,
|
|
30087
30280
|
handleFileSelect
|
|
30088
30281
|
} = _ref,
|
|
30089
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
30282
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
|
|
30090
30283
|
/**
|
|
30091
30284
|
* Handle session creation
|
|
30092
30285
|
*/
|
|
@@ -31925,7 +32118,7 @@
|
|
|
31925
32118
|
}, renderVisualization())));
|
|
31926
32119
|
};
|
|
31927
32120
|
|
|
31928
|
-
var _excluded$
|
|
32121
|
+
var _excluded$1p = ["showTimeline", "showMetrics", "showVisualization", "enableFiltering", "enableExport", "enableSearch", "showEventDetails", "showPerformanceMetrics", "compactMode", "views", "ariaLabel", "ariaDescribedBy", "events", "spans", "selectedEvent", "selectedSpan", "metrics", "isLoading", "error", "filter", "searchQuery", "currentVisualization", "fetchTraceEvents", "selectEvent", "selectSpan", "updateFilter", "exportTrace", "setSearchQuery", "setCurrentVisualization", "setError"];
|
|
31929
32122
|
/**
|
|
31930
32123
|
* AgentTrace View Component
|
|
31931
32124
|
*
|
|
@@ -31966,7 +32159,7 @@
|
|
|
31966
32159
|
setCurrentVisualization,
|
|
31967
32160
|
setError
|
|
31968
32161
|
} = _ref,
|
|
31969
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
32162
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1p);
|
|
31970
32163
|
/**
|
|
31971
32164
|
* Handle event selection
|
|
31972
32165
|
*/
|
|
@@ -33655,7 +33848,7 @@
|
|
|
33655
33848
|
}, "Run some evaluations to see performance metrics")))));
|
|
33656
33849
|
};
|
|
33657
33850
|
|
|
33658
|
-
var _excluded$
|
|
33851
|
+
var _excluded$1q = ["enableBatchEvaluation", "enableMetricsComparison", "enableResultExport", "enableTemplates", "showEvaluationHistory", "showMetricsPanel", "showTestCaseDetails", "showProgressIndicators", "compactMode", "views", "ariaLabel", "ariaDescribedBy", "evaluations", "selectedEvaluation", "selectedResult", "isLoading", "isCreating", "error", "searchQuery", "templates", "runningEvaluationsCount", "canStartNewEvaluation", "fetchEvaluations", "createEvaluation", "startEvaluation", "cancelEvaluation", "deleteEvaluation", "selectEvaluation", "selectResult", "exportEvaluations", "setSearchQuery", "setError"];
|
|
33659
33852
|
/**
|
|
33660
33853
|
* AgentEval View Component
|
|
33661
33854
|
*
|
|
@@ -33698,7 +33891,7 @@
|
|
|
33698
33891
|
setSearchQuery,
|
|
33699
33892
|
setError
|
|
33700
33893
|
} = _ref,
|
|
33701
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
33894
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1q);
|
|
33702
33895
|
var [activeTab, setActiveTab] = React__default.useState('evaluations');
|
|
33703
33896
|
/**
|
|
33704
33897
|
* Handle evaluation creation
|
|
@@ -34480,6 +34673,7 @@
|
|
|
34480
34673
|
exports.PowerOffIcon = PowerOffIcon;
|
|
34481
34674
|
exports.PrintIcon = PrintIcon;
|
|
34482
34675
|
exports.ProfileIcon = ProfileIcon;
|
|
34676
|
+
exports.ProgressBar = ProgressBar;
|
|
34483
34677
|
exports.RefreshIcon = RefreshIcon;
|
|
34484
34678
|
exports.Resizable = Resizable;
|
|
34485
34679
|
exports.RotateIcon = RotateIcon;
|
|
@@ -34497,6 +34691,7 @@
|
|
|
34497
34691
|
exports.SliderIcon = SliderIcon;
|
|
34498
34692
|
exports.SpinnerIcon = SpinnerIcon;
|
|
34499
34693
|
exports.StarIcon = StarIcon;
|
|
34694
|
+
exports.StatusIndicator = StatusIndicator;
|
|
34500
34695
|
exports.StopIcon = StopIcon;
|
|
34501
34696
|
exports.SuccessIcon = SuccessIcon;
|
|
34502
34697
|
exports.Switch = Switch;
|