@app-studio/web 0.9.24 → 0.9.25
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 +253 -46
- 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 +252 -47
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +253 -46
- 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
|
@@ -22717,6 +22717,55 @@ var PaginationComponent = _ref => {
|
|
|
22717
22717
|
};
|
|
22718
22718
|
var Pagination = PaginationComponent;
|
|
22719
22719
|
|
|
22720
|
+
var _excluded$16 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
|
|
22721
|
+
var ProgressBarView = _ref => {
|
|
22722
|
+
var {
|
|
22723
|
+
value = 0,
|
|
22724
|
+
max = 100,
|
|
22725
|
+
color = 'theme.primary',
|
|
22726
|
+
backgroundColor = 'color.gray.200',
|
|
22727
|
+
height = 8,
|
|
22728
|
+
radius = 4,
|
|
22729
|
+
views,
|
|
22730
|
+
themeMode: elementMode
|
|
22731
|
+
} = _ref,
|
|
22732
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
|
|
22733
|
+
var {
|
|
22734
|
+
getColor,
|
|
22735
|
+
themeMode
|
|
22736
|
+
} = appStudio.useTheme();
|
|
22737
|
+
var currentMode = elementMode ? elementMode : themeMode;
|
|
22738
|
+
var percentage = Math.min(100, Math.max(0, value / max * 100));
|
|
22739
|
+
var trackColor = getColor(backgroundColor, {
|
|
22740
|
+
themeMode: currentMode
|
|
22741
|
+
});
|
|
22742
|
+
var barColor = getColor(color, {
|
|
22743
|
+
themeMode: currentMode
|
|
22744
|
+
});
|
|
22745
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
22746
|
+
role: "progressbar",
|
|
22747
|
+
"aria-valuenow": value,
|
|
22748
|
+
"aria-valuemin": 0,
|
|
22749
|
+
"aria-valuemax": max,
|
|
22750
|
+
width: "100%",
|
|
22751
|
+
height: height,
|
|
22752
|
+
backgroundColor: trackColor,
|
|
22753
|
+
borderRadius: radius,
|
|
22754
|
+
overflow: "hidden"
|
|
22755
|
+
}, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
22756
|
+
width: percentage + "%",
|
|
22757
|
+
height: "100%",
|
|
22758
|
+
backgroundColor: barColor,
|
|
22759
|
+
borderRadius: radius
|
|
22760
|
+
}, views == null ? void 0 : views.bar)));
|
|
22761
|
+
};
|
|
22762
|
+
|
|
22763
|
+
/**
|
|
22764
|
+
* ProgressBar component displays completion status of a task or process.
|
|
22765
|
+
*/
|
|
22766
|
+
var ProgressBarComponent = props => (/*#__PURE__*/React__default.createElement(ProgressBarView, Object.assign({}, props)));
|
|
22767
|
+
var ProgressBar = ProgressBarComponent;
|
|
22768
|
+
|
|
22720
22769
|
/**
|
|
22721
22770
|
* Separator Styles
|
|
22722
22771
|
*
|
|
@@ -22763,7 +22812,7 @@ var DefaultSeparatorStyles = {
|
|
|
22763
22812
|
}
|
|
22764
22813
|
};
|
|
22765
22814
|
|
|
22766
|
-
var _excluded$
|
|
22815
|
+
var _excluded$17 = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
|
|
22767
22816
|
var SeparatorView = _ref => {
|
|
22768
22817
|
var {
|
|
22769
22818
|
orientation = 'horizontal',
|
|
@@ -22775,7 +22824,7 @@ var SeparatorView = _ref => {
|
|
|
22775
22824
|
decorative = false,
|
|
22776
22825
|
views
|
|
22777
22826
|
} = _ref,
|
|
22778
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
22827
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
|
|
22779
22828
|
// Access theme if needed for future enhancements
|
|
22780
22829
|
var {
|
|
22781
22830
|
themeMode
|
|
@@ -22843,6 +22892,82 @@ var SeparatorComponent = props => {
|
|
|
22843
22892
|
var Separator = SeparatorComponent;
|
|
22844
22893
|
var Divider = SeparatorComponent;
|
|
22845
22894
|
|
|
22895
|
+
var getThemes$2 = themeMode => {
|
|
22896
|
+
return {
|
|
22897
|
+
default: {
|
|
22898
|
+
indicator: {
|
|
22899
|
+
backgroundColor: 'color.gray.400'
|
|
22900
|
+
},
|
|
22901
|
+
label: {
|
|
22902
|
+
color: 'color.gray.700'
|
|
22903
|
+
}
|
|
22904
|
+
},
|
|
22905
|
+
info: {
|
|
22906
|
+
indicator: {
|
|
22907
|
+
backgroundColor: 'color.blue.500'
|
|
22908
|
+
},
|
|
22909
|
+
label: {
|
|
22910
|
+
color: 'color.blue.700'
|
|
22911
|
+
}
|
|
22912
|
+
},
|
|
22913
|
+
success: {
|
|
22914
|
+
indicator: {
|
|
22915
|
+
backgroundColor: 'color.green.500'
|
|
22916
|
+
},
|
|
22917
|
+
label: {
|
|
22918
|
+
color: 'color.green.700'
|
|
22919
|
+
}
|
|
22920
|
+
},
|
|
22921
|
+
warning: {
|
|
22922
|
+
indicator: {
|
|
22923
|
+
backgroundColor: 'color.orange.500'
|
|
22924
|
+
},
|
|
22925
|
+
label: {
|
|
22926
|
+
color: 'color.orange.700'
|
|
22927
|
+
}
|
|
22928
|
+
},
|
|
22929
|
+
error: {
|
|
22930
|
+
indicator: {
|
|
22931
|
+
backgroundColor: 'color.red.500'
|
|
22932
|
+
},
|
|
22933
|
+
label: {
|
|
22934
|
+
color: 'color.red.700'
|
|
22935
|
+
}
|
|
22936
|
+
}
|
|
22937
|
+
};
|
|
22938
|
+
};
|
|
22939
|
+
|
|
22940
|
+
var _excluded$18 = ["label", "status", "views", "themeMode"];
|
|
22941
|
+
var StatusIndicatorView = _ref => {
|
|
22942
|
+
var {
|
|
22943
|
+
label,
|
|
22944
|
+
status = 'default',
|
|
22945
|
+
views,
|
|
22946
|
+
themeMode: elementMode
|
|
22947
|
+
} = _ref,
|
|
22948
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
|
|
22949
|
+
var {
|
|
22950
|
+
themeMode
|
|
22951
|
+
} = appStudio.useTheme();
|
|
22952
|
+
var themes = getThemes$2();
|
|
22953
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
|
|
22954
|
+
alignItems: "center",
|
|
22955
|
+
gap: 8,
|
|
22956
|
+
role: "status-indicator"
|
|
22957
|
+
}, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
22958
|
+
role: "status-dot",
|
|
22959
|
+
width: "8px",
|
|
22960
|
+
height: "8px",
|
|
22961
|
+
borderRadius: "50%"
|
|
22962
|
+
}, themes[status].indicator, views == null ? void 0 : views.indicator)), label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
|
|
22963
|
+
role: "status-label",
|
|
22964
|
+
fontSize: "14px",
|
|
22965
|
+
lineHeight: "20px"
|
|
22966
|
+
}, themes[status].label, views == null ? void 0 : views.label), label)));
|
|
22967
|
+
};
|
|
22968
|
+
|
|
22969
|
+
var StatusIndicator = props => (/*#__PURE__*/React__default.createElement(StatusIndicatorView, Object.assign({}, props)));
|
|
22970
|
+
|
|
22846
22971
|
var useSidebarState = function useSidebarState(defaultExpanded, expanded, onExpandedChange, breakpoint) {
|
|
22847
22972
|
if (defaultExpanded === void 0) {
|
|
22848
22973
|
defaultExpanded = true;
|
|
@@ -23013,7 +23138,7 @@ var SidebarTransitions = {
|
|
|
23013
23138
|
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)'
|
|
23014
23139
|
};
|
|
23015
23140
|
|
|
23016
|
-
var _excluded$
|
|
23141
|
+
var _excluded$19 = ["children", "showToggleButton", "views"],
|
|
23017
23142
|
_excluded2$g = ["children", "views"],
|
|
23018
23143
|
_excluded3$a = ["children", "views"],
|
|
23019
23144
|
_excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
|
|
@@ -23046,7 +23171,7 @@ var SidebarHeader = _ref2 => {
|
|
|
23046
23171
|
showToggleButton = true,
|
|
23047
23172
|
views
|
|
23048
23173
|
} = _ref2,
|
|
23049
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
23174
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$19);
|
|
23050
23175
|
var {
|
|
23051
23176
|
isExpanded,
|
|
23052
23177
|
toggleExpanded,
|
|
@@ -23201,7 +23326,7 @@ var SidebarView = _ref5 => {
|
|
|
23201
23326
|
}))));
|
|
23202
23327
|
};
|
|
23203
23328
|
|
|
23204
|
-
var _excluded$
|
|
23329
|
+
var _excluded$1a = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
|
|
23205
23330
|
/**
|
|
23206
23331
|
* Sidebar component for creating collapsible, themeable and customizable sidebars.
|
|
23207
23332
|
*/
|
|
@@ -23223,7 +23348,7 @@ var SidebarComponent = _ref => {
|
|
|
23223
23348
|
breakpointBehavior = 'overlay',
|
|
23224
23349
|
views
|
|
23225
23350
|
} = _ref,
|
|
23226
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
23351
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
|
|
23227
23352
|
var {
|
|
23228
23353
|
isExpanded,
|
|
23229
23354
|
toggleExpanded,
|
|
@@ -23688,7 +23813,7 @@ var HandleIconStyles = {
|
|
|
23688
23813
|
}
|
|
23689
23814
|
};
|
|
23690
23815
|
|
|
23691
|
-
var _excluded$
|
|
23816
|
+
var _excluded$1b = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
|
|
23692
23817
|
_excluded2$h = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
|
|
23693
23818
|
_excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
|
|
23694
23819
|
// Create context for the Resizable component
|
|
@@ -23733,7 +23858,7 @@ var ResizablePanel = _ref2 => {
|
|
|
23733
23858
|
onCollapseChange,
|
|
23734
23859
|
views
|
|
23735
23860
|
} = _ref2,
|
|
23736
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
23861
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1b);
|
|
23737
23862
|
var {
|
|
23738
23863
|
orientation,
|
|
23739
23864
|
registerPanel,
|
|
@@ -23948,7 +24073,7 @@ var ResizableView = _ref4 => {
|
|
|
23948
24073
|
}, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
|
|
23949
24074
|
};
|
|
23950
24075
|
|
|
23951
|
-
var _excluded$
|
|
24076
|
+
var _excluded$1c = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
|
|
23952
24077
|
/**
|
|
23953
24078
|
* Resizable component for creating resizable panel groups and layouts.
|
|
23954
24079
|
*/
|
|
@@ -23968,7 +24093,7 @@ var ResizableComponent = _ref => {
|
|
|
23968
24093
|
keyboardResizeBy = 10,
|
|
23969
24094
|
views
|
|
23970
24095
|
} = _ref,
|
|
23971
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
24096
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
|
|
23972
24097
|
var {
|
|
23973
24098
|
isResizing,
|
|
23974
24099
|
setIsResizing,
|
|
@@ -24736,7 +24861,7 @@ var CommandFooterStyles = {
|
|
|
24736
24861
|
color: 'color.gray.500'
|
|
24737
24862
|
};
|
|
24738
24863
|
|
|
24739
|
-
var _excluded$
|
|
24864
|
+
var _excluded$1d = ["value", "onValueChange", "placeholder", "views"],
|
|
24740
24865
|
_excluded2$i = ["children", "views"],
|
|
24741
24866
|
_excluded3$c = ["heading", "children", "views"],
|
|
24742
24867
|
_excluded4$a = ["item", "selected", "onSelect", "views"],
|
|
@@ -24768,7 +24893,7 @@ var CommandInput = _ref2 => {
|
|
|
24768
24893
|
placeholder = 'Type a command or search...',
|
|
24769
24894
|
views
|
|
24770
24895
|
} = _ref2,
|
|
24771
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
24896
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
|
|
24772
24897
|
var inputRef = React.useRef(null);
|
|
24773
24898
|
// Focus input when component mounts
|
|
24774
24899
|
React__default.useEffect(() => {
|
|
@@ -24951,7 +25076,7 @@ var CommandView = _ref7 => {
|
|
|
24951
25076
|
})))), footer && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
|
|
24952
25077
|
};
|
|
24953
25078
|
|
|
24954
|
-
var _excluded$
|
|
25079
|
+
var _excluded$1e = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
|
|
24955
25080
|
/**
|
|
24956
25081
|
* Command component for displaying a command palette with search functionality.
|
|
24957
25082
|
*/
|
|
@@ -24969,7 +25094,7 @@ var CommandComponent = _ref => {
|
|
|
24969
25094
|
footer,
|
|
24970
25095
|
views
|
|
24971
25096
|
} = _ref,
|
|
24972
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
25097
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
|
|
24973
25098
|
var {
|
|
24974
25099
|
search,
|
|
24975
25100
|
setSearch,
|
|
@@ -25197,7 +25322,7 @@ var getArrowStyles = position => {
|
|
|
25197
25322
|
}
|
|
25198
25323
|
};
|
|
25199
25324
|
|
|
25200
|
-
var _excluded$
|
|
25325
|
+
var _excluded$1f = ["children", "views", "asChild"],
|
|
25201
25326
|
_excluded2$j = ["children", "views"],
|
|
25202
25327
|
_excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
|
|
25203
25328
|
// Create context for the Tooltip
|
|
@@ -25233,7 +25358,7 @@ var TooltipTrigger = _ref2 => {
|
|
|
25233
25358
|
views,
|
|
25234
25359
|
asChild = false
|
|
25235
25360
|
} = _ref2,
|
|
25236
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
25361
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
|
|
25237
25362
|
var {
|
|
25238
25363
|
openTooltip,
|
|
25239
25364
|
closeTooltip,
|
|
@@ -25423,7 +25548,7 @@ var TooltipView = _ref4 => {
|
|
|
25423
25548
|
}, "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)))))));
|
|
25424
25549
|
};
|
|
25425
25550
|
|
|
25426
|
-
var _excluded$
|
|
25551
|
+
var _excluded$1g = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
|
|
25427
25552
|
/**
|
|
25428
25553
|
* Tooltip component for displaying additional information when hovering over an element.
|
|
25429
25554
|
* Supports configurable positions, delays, and styling.
|
|
@@ -25443,7 +25568,7 @@ var TooltipComponent = _ref => {
|
|
|
25443
25568
|
isDisabled = false,
|
|
25444
25569
|
views
|
|
25445
25570
|
} = _ref,
|
|
25446
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
25571
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
|
|
25447
25572
|
var tooltipState = useTooltipState({
|
|
25448
25573
|
defaultOpen,
|
|
25449
25574
|
openDelay,
|
|
@@ -25916,7 +26041,7 @@ var TreeItemStates = {
|
|
|
25916
26041
|
}
|
|
25917
26042
|
};
|
|
25918
26043
|
|
|
25919
|
-
var _excluded$
|
|
26044
|
+
var _excluded$1h = ["children", "views", "baseId"],
|
|
25920
26045
|
_excluded2$k = ["value", "disabled", "icon", "children", "views", "style", "draggable"],
|
|
25921
26046
|
_excluded3$e = ["children", "onClick", "onToggleExpand", "hasChildren", "expanded", "icon", "disabled", "isSelected", "isDragging", "size", "variant", "views"],
|
|
25922
26047
|
_excluded4$b = ["children", "views"];
|
|
@@ -25952,7 +26077,7 @@ var TreeView = _ref2 => {
|
|
|
25952
26077
|
baseId
|
|
25953
26078
|
// themeMode, // If 'app-studio' ViewProps supports themeMode
|
|
25954
26079
|
} = _ref2,
|
|
25955
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
26080
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
|
|
25956
26081
|
var {
|
|
25957
26082
|
allowDragAndDrop,
|
|
25958
26083
|
handleDrop,
|
|
@@ -26232,7 +26357,7 @@ var DataDrivenTreeView = _ref7 => {
|
|
|
26232
26357
|
}))));
|
|
26233
26358
|
};
|
|
26234
26359
|
|
|
26235
|
-
var _excluded$
|
|
26360
|
+
var _excluded$1i = ["children", "items", "size", "variant", "defaultExpandedItems", "expandedItems", "onExpandedItemsChange", "defaultSelectedItem", "selectedItem", "onItemSelect", "multiSelect", "allowDragAndDrop", "dragHandleIcon", "onItemsReorder", "onDragStart", "onDragEnd", "views"];
|
|
26236
26361
|
/**
|
|
26237
26362
|
* Tree component for displaying hierarchical data.
|
|
26238
26363
|
* Supports both compound component pattern (using Tree.Item, Tree.ItemLabel, Tree.ItemContent)
|
|
@@ -26301,7 +26426,7 @@ var TreeComponent = _ref => {
|
|
|
26301
26426
|
views // Global views configuration
|
|
26302
26427
|
// Remaining ViewProps for the root TreeView container
|
|
26303
26428
|
} = _ref,
|
|
26304
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
26429
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
|
|
26305
26430
|
var treeState = useTreeState({
|
|
26306
26431
|
defaultExpandedItems,
|
|
26307
26432
|
expandedItems,
|
|
@@ -26874,7 +26999,7 @@ var FlowNodeStates = {
|
|
|
26874
26999
|
}
|
|
26875
27000
|
};
|
|
26876
27001
|
|
|
26877
|
-
var _excluded$
|
|
27002
|
+
var _excluded$1j = ["node", "onSelect", "isSelected", "isDragging", "onDragStart", "onDrag", "onDragEnd", "size", "variant", "views"],
|
|
26878
27003
|
_excluded2$l = ["onZoomIn", "onZoomOut", "onReset", "views"],
|
|
26879
27004
|
_excluded3$f = ["onClick", "views"],
|
|
26880
27005
|
_excluded4$c = ["nodes", "edges", "selectedNodeId", "draggedNodeId", "onNodeSelect", "onAddNode", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "views", "baseId", "viewport", "onZoomIn", "onZoomOut", "onReset", "onViewportChange"];
|
|
@@ -26890,7 +27015,7 @@ var FlowNodeView = _ref => {
|
|
|
26890
27015
|
variant = 'default',
|
|
26891
27016
|
views
|
|
26892
27017
|
} = _ref,
|
|
26893
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
27018
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
|
|
26894
27019
|
var handleClick = () => {
|
|
26895
27020
|
if (onSelect) {
|
|
26896
27021
|
onSelect(node.id);
|
|
@@ -27537,7 +27662,7 @@ var FlowView = _ref5 => {
|
|
|
27537
27662
|
}, "Zoom: ", Math.round(viewport.zoom * 100), "%")));
|
|
27538
27663
|
};
|
|
27539
27664
|
|
|
27540
|
-
var _excluded$
|
|
27665
|
+
var _excluded$1k = ["children", "nodes", "edges", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "onNodesChange", "onEdgesChange", "onNodeSelect", "onNodeAdd", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "selectedNodeId", "initialViewport", "viewport", "onViewportChange", "views"];
|
|
27541
27666
|
/**
|
|
27542
27667
|
* Flow component for creating workflow diagrams.
|
|
27543
27668
|
*
|
|
@@ -27594,7 +27719,7 @@ var FlowComponent = _ref => {
|
|
|
27594
27719
|
onViewportChange,
|
|
27595
27720
|
views
|
|
27596
27721
|
} = _ref,
|
|
27597
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
27722
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
|
|
27598
27723
|
var flowState = useFlowState({
|
|
27599
27724
|
initialNodes: controlledNodes,
|
|
27600
27725
|
initialEdges: controlledEdges,
|
|
@@ -27768,6 +27893,39 @@ var BackgroundImageStyles = {
|
|
|
27768
27893
|
zIndex: 2
|
|
27769
27894
|
}
|
|
27770
27895
|
};
|
|
27896
|
+
/**
|
|
27897
|
+
* Background Video styles
|
|
27898
|
+
*/
|
|
27899
|
+
var BackgroundVideoStyles = {
|
|
27900
|
+
container: {
|
|
27901
|
+
position: 'relative',
|
|
27902
|
+
display: 'flex',
|
|
27903
|
+
flexDirection: 'column',
|
|
27904
|
+
alignItems: 'center',
|
|
27905
|
+
justifyContent: 'center',
|
|
27906
|
+
overflow: 'hidden'
|
|
27907
|
+
},
|
|
27908
|
+
video: {
|
|
27909
|
+
position: 'absolute',
|
|
27910
|
+
top: 0,
|
|
27911
|
+
left: 0,
|
|
27912
|
+
width: '100%',
|
|
27913
|
+
height: '100%',
|
|
27914
|
+
objectFit: 'cover'
|
|
27915
|
+
},
|
|
27916
|
+
overlay: {
|
|
27917
|
+
position: 'absolute',
|
|
27918
|
+
top: 0,
|
|
27919
|
+
left: 0,
|
|
27920
|
+
width: '100%',
|
|
27921
|
+
height: '100%',
|
|
27922
|
+
pointerEvents: 'none'
|
|
27923
|
+
},
|
|
27924
|
+
content: {
|
|
27925
|
+
position: 'relative',
|
|
27926
|
+
zIndex: 2
|
|
27927
|
+
}
|
|
27928
|
+
};
|
|
27771
27929
|
|
|
27772
27930
|
/**
|
|
27773
27931
|
* Gradient Styles
|
|
@@ -27930,7 +28088,7 @@ var DefaultGradientStyles = {
|
|
|
27930
28088
|
}
|
|
27931
28089
|
};
|
|
27932
28090
|
|
|
27933
|
-
var _excluded$
|
|
28091
|
+
var _excluded$1l = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
|
|
27934
28092
|
var GradientView = _ref => {
|
|
27935
28093
|
var {
|
|
27936
28094
|
type = 'linear',
|
|
@@ -27946,7 +28104,7 @@ var GradientView = _ref => {
|
|
|
27946
28104
|
views,
|
|
27947
28105
|
themeMode: elementMode
|
|
27948
28106
|
} = _ref,
|
|
27949
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
28107
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
|
|
27950
28108
|
var {
|
|
27951
28109
|
getColor,
|
|
27952
28110
|
themeMode
|
|
@@ -28022,15 +28180,16 @@ var Gradient = props => {
|
|
|
28022
28180
|
return /*#__PURE__*/React__default.createElement(GradientView, Object.assign({}, props));
|
|
28023
28181
|
};
|
|
28024
28182
|
|
|
28025
|
-
var _excluded$
|
|
28183
|
+
var _excluded$1m = ["children", "showRadialGradient", "views", "themeMode"],
|
|
28026
28184
|
_excluded2$m = ["number", "children"],
|
|
28027
28185
|
_excluded3$g = ["rows", "cols", "squareSize"],
|
|
28028
28186
|
_excluded4$d = ["count", "colors", "speed", "shapes"],
|
|
28029
28187
|
_excluded5$6 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
|
|
28030
28188
|
_excluded6$4 = ["rippleCount", "colors", "maxSize", "frequency"],
|
|
28031
28189
|
_excluded7$1 = ["children", "src", "backgroundSize", "backgroundPosition", "backgroundRepeat", "backgroundAttachment", "imageOpacity", "overlay", "blendMode", "views", "themeMode"],
|
|
28032
|
-
_excluded8$1 = ["children"],
|
|
28033
|
-
_excluded9$1 = ["children",
|
|
28190
|
+
_excluded8$1 = ["children", "src", "autoPlay", "loop", "muted", "playsInline", "overlay", "blendMode", "views", "themeMode"],
|
|
28191
|
+
_excluded9$1 = ["children"],
|
|
28192
|
+
_excluded10$1 = ["children", "views"];
|
|
28034
28193
|
// Background Context
|
|
28035
28194
|
var BackgroundContext = /*#__PURE__*/React.createContext({});
|
|
28036
28195
|
/**
|
|
@@ -28042,7 +28201,7 @@ var AuroraBackground = _ref => {
|
|
|
28042
28201
|
showRadialGradient = true,
|
|
28043
28202
|
views
|
|
28044
28203
|
} = _ref,
|
|
28045
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
28204
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
|
|
28046
28205
|
var gradientColors = {
|
|
28047
28206
|
white: 'rgba(255,255,255,1)',
|
|
28048
28207
|
transparent: 'rgba(255,255,255,0)'
|
|
@@ -28453,23 +28612,61 @@ var BackgroundImage = _ref7 => {
|
|
|
28453
28612
|
style: overlayStyle
|
|
28454
28613
|
}), children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, BackgroundImageStyles.content, views == null ? void 0 : views.content), children)));
|
|
28455
28614
|
};
|
|
28615
|
+
/**
|
|
28616
|
+
* Background Video Component
|
|
28617
|
+
*/
|
|
28618
|
+
var BackgroundVideo = _ref8 => {
|
|
28619
|
+
var {
|
|
28620
|
+
children,
|
|
28621
|
+
src,
|
|
28622
|
+
autoPlay = true,
|
|
28623
|
+
loop = true,
|
|
28624
|
+
muted = true,
|
|
28625
|
+
playsInline = true,
|
|
28626
|
+
overlay,
|
|
28627
|
+
blendMode = 'normal',
|
|
28628
|
+
views,
|
|
28629
|
+
themeMode: elementMode
|
|
28630
|
+
} = _ref8,
|
|
28631
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded8$1);
|
|
28632
|
+
var {
|
|
28633
|
+
getColor
|
|
28634
|
+
} = appStudio.useTheme();
|
|
28635
|
+
var overlayStyle = overlay ? Object.assign({}, BackgroundVideoStyles.overlay, {
|
|
28636
|
+
backgroundColor: getColor(overlay, elementMode ? {
|
|
28637
|
+
themeMode: elementMode
|
|
28638
|
+
} : undefined),
|
|
28639
|
+
mixBlendMode: blendMode
|
|
28640
|
+
}) : {};
|
|
28641
|
+
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({
|
|
28642
|
+
as: "video",
|
|
28643
|
+
src: src,
|
|
28644
|
+
autoPlay: autoPlay,
|
|
28645
|
+
loop: loop,
|
|
28646
|
+
muted: muted,
|
|
28647
|
+
playsInline: playsInline,
|
|
28648
|
+
style: BackgroundVideoStyles.video
|
|
28649
|
+
}, views == null ? void 0 : views.video)), overlay && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
28650
|
+
style: overlayStyle
|
|
28651
|
+
}, views == null ? void 0 : views.overlay)), children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, BackgroundVideoStyles.content, views == null ? void 0 : views.content), children)));
|
|
28652
|
+
};
|
|
28456
28653
|
/**
|
|
28457
28654
|
* Background Gradient Component
|
|
28458
28655
|
* Uses the existing Gradient component as a background
|
|
28459
28656
|
*/
|
|
28460
|
-
var BackgroundGradient =
|
|
28657
|
+
var BackgroundGradient = _ref9 => {
|
|
28461
28658
|
var {
|
|
28462
28659
|
children
|
|
28463
|
-
} =
|
|
28464
|
-
gradientProps = _objectWithoutPropertiesLoose(
|
|
28660
|
+
} = _ref9,
|
|
28661
|
+
gradientProps = _objectWithoutPropertiesLoose(_ref9, _excluded9$1);
|
|
28465
28662
|
return /*#__PURE__*/React__default.createElement(Gradient, Object.assign({}, gradientProps), children);
|
|
28466
28663
|
};
|
|
28467
|
-
var BackgroundViewBase =
|
|
28664
|
+
var BackgroundViewBase = _ref10 => {
|
|
28468
28665
|
var {
|
|
28469
28666
|
children,
|
|
28470
28667
|
views
|
|
28471
|
-
} =
|
|
28472
|
-
props = _objectWithoutPropertiesLoose(
|
|
28668
|
+
} = _ref10,
|
|
28669
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded10$1);
|
|
28473
28670
|
return /*#__PURE__*/React__default.createElement(BackgroundContext.Provider, {
|
|
28474
28671
|
value: {}
|
|
28475
28672
|
}, /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, DefaultBackgroundStyles.container, views == null ? void 0 : views.container, props), children));
|
|
@@ -28484,6 +28681,7 @@ BackgroundView.Particles = Particles;
|
|
|
28484
28681
|
BackgroundView.Grid = Grid;
|
|
28485
28682
|
BackgroundView.Ripples = Ripples;
|
|
28486
28683
|
BackgroundView.Image = BackgroundImage;
|
|
28684
|
+
BackgroundView.Video = BackgroundVideo;
|
|
28487
28685
|
BackgroundView.Gradient = BackgroundGradient;
|
|
28488
28686
|
|
|
28489
28687
|
/**
|
|
@@ -28522,6 +28720,12 @@ BackgroundView.Gradient = BackgroundGradient;
|
|
|
28522
28720
|
* </Background.Image>
|
|
28523
28721
|
*
|
|
28524
28722
|
* @example
|
|
28723
|
+
* // Background Video
|
|
28724
|
+
* <Background.Video src="/path/to/video.mp4" overlay="rgba(0,0,0,0.5)">
|
|
28725
|
+
* <Text color="white">Content over video</Text>
|
|
28726
|
+
* </Background.Video>
|
|
28727
|
+
*
|
|
28728
|
+
* @example
|
|
28525
28729
|
* // Background Gradient
|
|
28526
28730
|
* <Background.Gradient from="blue.500" to="purple.500" animate={true}>
|
|
28527
28731
|
* <Text color="white">Content over gradient</Text>
|
|
@@ -28539,6 +28743,7 @@ var Background = /*#__PURE__*/Object.assign(BackgroundComponent, {
|
|
|
28539
28743
|
Grid: BackgroundView.Grid,
|
|
28540
28744
|
Ripples: BackgroundView.Ripples,
|
|
28541
28745
|
Image: BackgroundView.Image,
|
|
28746
|
+
Video: BackgroundView.Video,
|
|
28542
28747
|
Gradient: BackgroundView.Gradient
|
|
28543
28748
|
});
|
|
28544
28749
|
Background.displayName = 'Background';
|
|
@@ -28896,7 +29101,7 @@ var AgentRunProgress = _ref => {
|
|
|
28896
29101
|
}, step.label))))));
|
|
28897
29102
|
};
|
|
28898
29103
|
|
|
28899
|
-
var _excluded$
|
|
29104
|
+
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"];
|
|
28900
29105
|
/**
|
|
28901
29106
|
* AgentChat View Component
|
|
28902
29107
|
*
|
|
@@ -28936,7 +29141,7 @@ var AgentChatView = _ref => {
|
|
|
28936
29141
|
setError,
|
|
28937
29142
|
setSelectedFiles
|
|
28938
29143
|
} = _ref,
|
|
28939
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
29144
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
|
|
28940
29145
|
/**
|
|
28941
29146
|
* Auto-scroll to bottom when new messages arrive
|
|
28942
29147
|
*/
|
|
@@ -30077,7 +30282,7 @@ var SessionFilters = _ref => {
|
|
|
30077
30282
|
}, "Clear all filters")))));
|
|
30078
30283
|
};
|
|
30079
30284
|
|
|
30080
|
-
var _excluded$
|
|
30285
|
+
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"];
|
|
30081
30286
|
/**
|
|
30082
30287
|
* AgentSession View Component
|
|
30083
30288
|
*
|
|
@@ -30125,7 +30330,7 @@ var AgentSessionView = _ref => {
|
|
|
30125
30330
|
fileInputRef,
|
|
30126
30331
|
handleFileSelect
|
|
30127
30332
|
} = _ref,
|
|
30128
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
30333
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
|
|
30129
30334
|
/**
|
|
30130
30335
|
* Handle session creation
|
|
30131
30336
|
*/
|
|
@@ -31964,7 +32169,7 @@ var TraceVisualization = _ref => {
|
|
|
31964
32169
|
}, renderVisualization())));
|
|
31965
32170
|
};
|
|
31966
32171
|
|
|
31967
|
-
var _excluded$
|
|
32172
|
+
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"];
|
|
31968
32173
|
/**
|
|
31969
32174
|
* AgentTrace View Component
|
|
31970
32175
|
*
|
|
@@ -32005,7 +32210,7 @@ var AgentTraceView = _ref => {
|
|
|
32005
32210
|
setCurrentVisualization,
|
|
32006
32211
|
setError
|
|
32007
32212
|
} = _ref,
|
|
32008
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
32213
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1p);
|
|
32009
32214
|
/**
|
|
32010
32215
|
* Handle event selection
|
|
32011
32216
|
*/
|
|
@@ -33694,7 +33899,7 @@ var EvaluationMetrics = _ref => {
|
|
|
33694
33899
|
}, "Run some evaluations to see performance metrics")))));
|
|
33695
33900
|
};
|
|
33696
33901
|
|
|
33697
|
-
var _excluded$
|
|
33902
|
+
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"];
|
|
33698
33903
|
/**
|
|
33699
33904
|
* AgentEval View Component
|
|
33700
33905
|
*
|
|
@@ -33737,7 +33942,7 @@ var AgentEvalView = _ref => {
|
|
|
33737
33942
|
setSearchQuery,
|
|
33738
33943
|
setError
|
|
33739
33944
|
} = _ref,
|
|
33740
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
33945
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1q);
|
|
33741
33946
|
var [activeTab, setActiveTab] = React__default.useState('evaluations');
|
|
33742
33947
|
/**
|
|
33743
33948
|
* Handle evaluation creation
|
|
@@ -34519,6 +34724,7 @@ exports.PlusIcon = PlusIcon;
|
|
|
34519
34724
|
exports.PowerOffIcon = PowerOffIcon;
|
|
34520
34725
|
exports.PrintIcon = PrintIcon;
|
|
34521
34726
|
exports.ProfileIcon = ProfileIcon;
|
|
34727
|
+
exports.ProgressBar = ProgressBar;
|
|
34522
34728
|
exports.RefreshIcon = RefreshIcon;
|
|
34523
34729
|
exports.Resizable = Resizable;
|
|
34524
34730
|
exports.RotateIcon = RotateIcon;
|
|
@@ -34536,6 +34742,7 @@ exports.Slider = Slider;
|
|
|
34536
34742
|
exports.SliderIcon = SliderIcon;
|
|
34537
34743
|
exports.SpinnerIcon = SpinnerIcon;
|
|
34538
34744
|
exports.StarIcon = StarIcon;
|
|
34745
|
+
exports.StatusIndicator = StatusIndicator;
|
|
34539
34746
|
exports.StopIcon = StopIcon;
|
|
34540
34747
|
exports.SuccessIcon = SuccessIcon;
|
|
34541
34748
|
exports.Switch = Switch;
|